|Re: Parsing of ecore models [message #1105270 is a reply to message #1105252]
||Mon, 09 September 2013 15:55
| Ed Merks
Registered: July 2009
On 09/09/2013 5:34 PM, Phil H wrote:
> Hi Ed,
> as you told me, I used my genmodel to generate test code, but this
> doesn't work..
What specifically doesn't work?
> What I have now is a project containing the ecore, genmodel and the
> generated test code..
Better to generate it to a different project. So it sounds like it did
work and you've just not found the XyzExample.java?
> What I still haven't understand yet if it's enough to have just the
> ecore model, or need I also the gen model and generate all the code?
> I expected that the ecore model would be sufficient..
For many models it's possible just to use dynamic Ecore. E.g., if you
right click on an EClass in the model, you can invoke Create Dynamic
Instance. But if you're going to write a model to model
transformation, you probably want to do that with the generated API for
the two models.
Powered by FUDForum
. Page generated in 0.03238 seconds