How to export an Eclipse plugin with dependencies?

后端 未结 1 2020
一个人的身影
一个人的身影 2021-01-14 23:09

So I have begun to edit an existing plugin. As such it has dependencies. I want to take this plugin and put it into another eclipse IDE (not my current one). This eclipse ID

相关标签:
1条回答
  • 2021-01-14 23:34

    The problem with using /dropins is that it does not perform dependency resolution to find and include all required dependencies. Instead, you'll want to install via p2 (Eclipse's package installation infrastructure) - in Eclipse it's what you get when you select Help > Install New Software...

    • Create a Feature Project to contain your plugin, include your plugin in the Feature. On the Dependencies tab of the Feature editor, use the Compute button to declare the dependencies your plugin requires (or manually add them if you prefer).
    • Create an Update Site Project for your Feature. Include your Feature, build the site (right-click on the site.xml file), and then use Help > Install New Software... to select the local update site and installing from that.

    The Eclipse Help Contents can explain more about all of this, but it's a pretty straightforward process.

    0 讨论(0)
提交回复
热议问题