[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] generate code from .gmfgen

Hi,

As Achilleas a few months ago :

"I have an .ecore model from which I am able to automatically (programmatically) create the .genmodel and generate the java code for the model,edit,editor projects. This is performed by running an ant script that makes use of the EcoreGeneratorTask to generate the .genmodel and the java code. Not by using the Eclipse EMF capabilities, e.g. right click on genmodel and choose "Generate Model Code". Using this automatic task I can generate the code and run an instance of the EMF tree-based editor to define my models.

Now I want to do the same for the diagram GMF-based editor. I have the gmfmap model and I don't want to right-click on it and choose "Create generator model" and the right click on .gmfgen to choose "Generate diagram code"; via the eclipse GMF capabilities. What I want is to automate this task programmatically or via an ant script as in the first case.

And yes I have read most of the tutorials. I hope my clarification is precise so that anyone can provide me with some guidelines how to start doing that?"

For me I only want to generate code from the .gmfgen (doesn't want to generate it).

At the end of the thread :
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/msg16579.html

So is it possible now? What is the outcome of that? Any suggestions?

(The thread is archived so I don't find how to respond to it... is there possible to uprise a thread?)