|Re: Element based edge source and target problem [message #1404987 is a reply to message #1404726]
||Wed, 06 August 2014 09:55
|| Pierre-Charles David
Registered: July 2009
Le 05/08/2014 12:12, Arunkumar Ramaswamy a écrit :|
> Before, I deployed my ecore files, edit, editor as jar files and
> deployed in dropins folder and was using the same instance of eclipse
> to design my tool using sirius.
Note that you need to restart your Eclipse each time you deploy a new
version of the plug-ins for them to be taken into account.
> Is there a better way to deploy my ecore metamodels so that i can
> use the same eclipse instance for tool development?
To test your modeler you need an instance of your metamodel, and for
that you need the corresponding plug-ins to be generated and installed
. Usually it is not a problem because when you are advanced enough in
a project to start creating graphical tooling, the metamodel(s) are
usually stable enough that you install or update the corresponding
plug-ins very rarely.
It is more annoying when testing and "playing" with small examples where
you want to iterate both on the metamodel and the representation, but
for this case the best way is usually to use a separate runtime for the
model instances and the representations. The price is an occasional
restart of the runtime when you change the metamodel.
 This is not strictly true, EMF itself supports the creation of
"dynamic instances" using only the ecore and no Java code generated from
it and deployed. However this is not well supported by Sirius, and
possibly by other parts of the stack we use, so it is not recommended.
Powered by FUDForum
. Page generated in 0.03767 seconds