Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore] How to migrate from ecore/genmodel
[xcore] How to migrate from ecore/genmodel [message #1160861] Tue, 29 October 2013 11:55 Go to next message
Dirk Hoffmann is currently offline Dirk HoffmannFriend
Messages: 163
Registered: July 2009
Senior Member
Hi,

xcore seems to be a solution for merging models (and for convincing
people who prefer text based tools of EMF).

We already have models in the ecore format together with their genmodel
files.

Is there an easy way to convert them into xcore files?

Thanks and Regards,
Dirk
Re: [xcore] How to migrate from ecore/genmodel [message #1161129 is a reply to message #1160861] Tue, 29 October 2013 15:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30351
Registered: July 2009
Senior Member
Dirk,

You can use "Export Model..." to in the Generator to export your
*.genmodel to *.xcore.

On 29/10/2013 12:55 PM, Dirk Hoffmann wrote:
> Hi,
>
> xcore seems to be a solution for merging models (and for convincing
> people who prefer text based tools of EMF).
>
> We already have models in the ecore format together with their
> genmodel files.
>
> Is there an easy way to convert them into xcore files?
>
> Thanks and Regards,
> Dirk
Re: [xcore] How to migrate from ecore/genmodel [message #1162191 is a reply to message #1161129] Wed, 30 October 2013 08:02 Go to previous message
Dirk Hoffmann is currently offline Dirk HoffmannFriend
Messages: 163
Registered: July 2009
Senior Member
Hi Ed,

thanks for the hint.


For others reading this:

"Export Model..." was available after installing the XCore SDK. If you
have models depending on each other start with those on which the others
depend.

Be warned that your code gets re-generated immediately after the new
xcore file enters your workspace and that it may sligthly differ from
what you got with the original ecore/genmodel pair.

I think you can go the opposite way, i.e. create the ecore/genmodel pair
by creating a new genmodel and selecting the Xcore model importer.

You can also create Ecore Tools diagrams from the xcore file directly
but can't use them to modify the model.

Dirk

Am 29.10.2013 16:52, schrieb Ed Merks:
> Dirk,
>
> You can use "Export Model..." to in the Generator to export your
> *.genmodel to *.xcore.
>
> On 29/10/2013 12:55 PM, Dirk Hoffmann wrote:
>> Hi,
>>
>> xcore seems to be a solution for merging models (and for convincing
>> people who prefer text based tools of EMF).
>>
>> We already have models in the ecore format together with their
>> genmodel files.
>>
>> Is there an easy way to convert them into xcore files?
>>
>> Thanks and Regards,
>> Dirk
>
Previous Topic:Upper case letters in URI
Next Topic:Merging in Real Life
Goto Forum:
  


Current Time: Sun Aug 18 21:45:45 GMT 2019

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

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

Back to the top