Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Question on GMF upgrade
Question on GMF upgrade [message #557526] Wed, 08 September 2010 00:33 Go to next message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 65
Registered: July 2009
Member
When we upgrade GMF version, do we have to generate gmf code ? Will the code generated with old gmf will work on newer GMF runtime ?

We have done tons of customization on the generated code and would like to avoid generation if possible. We will be upgrading from 1.x to 2.2.x GMF versions.

Thanks in advance.
Re: Question on GMF upgrade [message #557538 is a reply to message #557526] Wed, 08 September 2010 02:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Shilpa,

Comments below.

Shilpa Toraskar wrote:
> When we upgrade GMF version, do we have to generate gmf code ?
I doubt it.
> Will the code generated with old gmf will work on newer GMF runtime ?
I think the runtime has been changed only in binary compatible ways, so
I think so.
> We have done tons of customization on the generated code and would
> like to avoid generation if possible.
Did you mark those customizations with @generated NOT?
> We will be upgrading from 1.x to 2.2.x GMF versions.
When you regenerate, you should see what's changed and then you can take
action to mark properly the customizations you don't want overwritten.
>
> Thanks in advance.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Question on GMF upgrade [message #557751 is a reply to message #557538] Wed, 08 September 2010 17:47 Go to previous message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 65
Registered: July 2009
Member
We did @generated NOT in most of the cases but it's likely that we missed some, unfortunately Sad

Thanks for your suggestion.
Previous Topic:No Definition xpt::navigator::getEditorInput::defineURIEditorInput(String) for GenDiagram...
Next Topic:Updating the Model elements to the new Version
Goto Forum:
  


Current Time: Fri Apr 26 08:46:36 GMT 2024

Powered by FUDForum. Page generated in 0.02801 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top