简体   繁体   中英

Export multiple projects as one Eclipse plugin JAR

I have a multiple plugin projects :

  • 4 for my SDL editor.
  • 2 for the model-to-text integration
  • and one for creating an Eclipse wizard to my editor.

I can export the projects as plugin jars via Eclipse (Deployable Plugins and Fragments), and everything works when i restart Eclipse to integrate these plugins.

What i want to do is to group all these projects in one jar file, that i can install on other Eclipse machines. Is there a simple way to do it ? (i am not a maven user :/ ).

Thanks.

If you have several related and inter-dependent plug-ins, they should be collected under a Feature . A Feature is a unit of separately downloadable and installable functionality. You can then create an Update Site to make installation of that Feature (and its plug-ins) easy.

See also this answer .

You can use a Feature project. In the feature you add all your plugins to the feature contents.

You then use 'Export > Deployable Features' to create an archive or repository containing all the plugin jars.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM