Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] CDO Migrate and EMF Model Change Support([CDO] CDO Migrate and EMF Model Change Support)
[CDO] CDO Migrate and EMF Model Change Support [message #988212] Wed, 28 November 2012 15:32 Go to next message
Andrew Whelan is currently offline Andrew Whelan
Messages: 69
Registered: October 2012
Location: Syracuse NY
Member
Hello,

I have a question that is related to the CDO Migrate functionality. I am working on a project that already has a large EMF model that is morphing a lot lately. I have used the CDO Migration (by Reflection) functionality to Migrate our EMF .genmodel file.

My question is this. If we need to add or change things in our ecore model, is it simple enough to regenerate? We just update our .core file, do another CDO Migrate on the .genmodel file and regenerate, correct? The codebase should be updated with our changes. Should it be as simple as that?

Thanks
-Andy
Re: [CDO] CDO Migrate and EMF Model Change Support [message #988256 is a reply to message #988212] Thu, 29 November 2012 01:50 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5499
Registered: July 2009
Senior Member
Am 28.11.2012 21:32, schrieb Andrew Whelan:
> Hello,
>
> I have a question that is related to the CDO Migrate functionality. I am working on a project that already has a large
> EMF model that is morphing a lot lately. I have used the CDO Migration (by Reflection) functionality to Migrate our
> EMF .genmodel file.
> My question is this. If we need to add or change things in our ecore model, is it simple enough to regenerate? We just
> update our .core file, do another CDO Migrate on the .genmodel file and regenerate, correct? The codebase should be
> updated with our changes. Should it be as simple as that?
Even simpler: All GenModel settings that are changed by the migrator tool are GenModel-wide. No need to do anything but
regenerate after Ecore changes ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:[Teneo] Tutorial example invalid sql with MySQL 5.5
Next Topic:[CDO] disable revisions
Goto Forum:
  


Current Time: Thu Aug 21 04:19:31 EDT 2014

Powered by FUDForum. Page generated in 0.01544 seconds