0

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.

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

4 Comments

Thank you, it's exactly what i need. I found this step by step tutorial on Vogella's blog : vogella.com/tutorials/EclipsePlugin/…
i am just wondering if it is possible/efficient to put all needed dependencies along with the feature, so other users will not have to install any additional dependencies from other update sites. For example, my plugin needs org.eclipse.ocl to be installed !
I think an Update Site project can be configured to include prerequisites. But I think there usual practice is to rely on org.ecliose prerequisites to be pulled from the origin updates site.
do you mean that i have to add an update site from where dependencies can be downloaded ? if yes, how can i know do it please? i don't see a such field in the feature.xml. Thanks
1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.