Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » convert ecore to xmi
convert ecore to xmi [message #1761059] Fri, 05 May 2017 19:17 Go to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 276
Registered: July 2016
Senior Member
Hi,

How can I convert ecore to xmi?
I can rename it with .xmi and open it. but it doesn't really convert to xmi.
Re: convert ecore to xmi [message #1761073 is a reply to message #1761059] Sat, 06 May 2017 05:15 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6111
Registered: July 2009
Senior Member
HI

Do nothing. It is already XMI.

Regards

Ed Willink
Re: convert ecore to xmi [message #1761119 is a reply to message #1761073] Sun, 07 May 2017 11:21 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 276
Registered: July 2016
Senior Member
thanks for your reply.
To clarify, I want to have a metamodel as a model. in other words, I want to have a model that is same as its metamodel (with all references,..) and I want to add only values to its class attributes.
Is there any way to help me in this regard?

[Updated on: Sun, 07 May 2017 11:23]

Report message to a moderator

Re: convert ecore to xmi [message #1761120 is a reply to message #1761119] Sun, 07 May 2017 11:47 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6111
Registered: July 2009
Senior Member
Hi

Sorry, what you ask makes no sense, Ecore is its own metamodel, but adding only values to class attributes. Beats me.

The general level of your questions suggests that you don't really understand what you are trying to do. I suggest you use Ecore and related tools in conventional ways before attempting what appear to be really odd things. I suspect that you will discover that what you thought you were trying to do is not what you really need to do.

Regards

Ed Willink
Re: convert ecore to xmi [message #1763723 is a reply to message #1761120] Fri, 19 May 2017 05:53 Go to previous message
saravanakumar Mohanasundaram is currently offline saravanakumar MohanasundaramFriend
Messages: 17
Registered: February 2017
Junior Member
Hi,
I am not actually understand your case. This may help you.
You can create a xmi for your model itself. Select the root node in your model.
Right click--> create dynamic instance then you will get xmi for your model.


Regards,
saravanakumar

[Updated on: Fri, 19 May 2017 05:55]

Report message to a moderator

Previous Topic:Cannot create genmodel from valid schema.
Next Topic:Create diagram view of model
Goto Forum:
  


Current Time: Sun Nov 18 06:05:30 GMT 2018

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

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

Back to the top