Deploy Sirius project to an Eclipse RCP application (or other) [message #1729859] |
Tue, 19 April 2016 11:53  |
Eclipse User |
|
|
|
Hi,
For the moment in my project I have to launch another runtime to create a new VSP and a new Model in order to create my diagrams (like in the tutorial)
I would like to know the best way to "deploy" my modeler to an application that the final can launch in just a click and where the diagram would be pre generated and instantly usable.
I've checked what you did in the Arduino project but I think that it is a bit too complicated for my use case, do you know a simple way to do that ?
Thanks.
|
|
|
Re: Deploy Sirius project to an Eclipse RCP application (or other) [message #1730050 is a reply to message #1729859] |
Thu, 21 April 2016 03:40   |
Eclipse User |
|
|
|
Hi,
To deploy your plugin as installable plugin you should follow this
procedure:
- Create a feature
- Create an Update site
- Export this update site
To create a feature, right click in the Model Explorer View menu
New/Other.../Plug-in Development/Feature Project
Add Metamodel (plug-in, plug-in.edit, plug-in.editor) and VSM (.odesign)
To create an Update Site right click in the Model Explorer View menu
New/Other.../Plug-in Development/Update Site Project
Add the feature created previously.
This action created a site.xml, right click on this and menu Plug in
Tools/Build Site. This action created directories feature and plugins
and 2 jars artifact and content.
To export this update site select the five elements (feature, plugins,
artifact.jar, content.jar ans site.xml) right click Explort and select
Archive File.
Warning: do not include the .project
Choose a repository destination and click on Finish.
The zip exported is an update site that you can install as an Eclipse
plugin.
These actions can do with maven tycho too, if you want automatised the
construction of update site. You can find more informations on
https://wiki.eclipse.org/Tycho/Reference_Card
Regards,
--
Julien - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02774 seconds