Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » import an xmi file into EMF
import an xmi file into EMF [message #1487156] Tue, 25 November 2014 16:08 Go to next message
lami P is currently offline lami PFriend
Messages: 10
Registered: November 2014
Junior Member
Hello,
I'm a beginner in EMF , i have done an extension of CWM by Entreprise architect and i generated the xmi file ,my question is how can i import that xmi file into EMF and create an ecore model from that and genered it ?
Any help on how this can be done? Sad
Thanks
Re: import an xmi file into EMF [message #1487858 is a reply to message #1487156] Wed, 26 November 2014 05:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30351
Registered: July 2009
Senior Member
lami,

Comments below.

On 25/11/2014 8:49 PM, lami P wrote:
> Hello,
> I'm a beginner in EMF , i have done an extension of CWM
Container Warehouse Model?
> by Entreprise architect and i generated the xmi file ,
I'm not sure what such an extension is? This is an extension of CWM's
Ecore model? What exactly is such a thing?
> my question is how can i import that xmi file into EMF and create
> an ecore model from that and genered it ?
It sounds like you want to do an "Extended CWM" -> Ecore conversion.
EMF doesn't provide that. I don't even know what an extension to CWM
would look like, other than that it's a model you've represented as XMI.
> Any help on how this can be done? :( Thanks
Re: import an xmi file into EMF [message #1488136 is a reply to message #1487156] Wed, 26 November 2014 10:41 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6437
Registered: July 2009
Senior Member
Hi

It depends what YIOU mean by an ecore model.

If you have a valid *.xmi file the Sample Reflective Ecore Editor will
load it, so you have nothing to do.

I'm guessing that CWM might be a profile extension of UML, so in so far
as you can find a UML compatibility between Eclipse UML2 and EA, it
might load in Eclipse UML2 or Papyrus. Search the UML newsgroup for
discussions on EA compatibility. NV=B Eclipse UML2 supports UML 2.2,
2.4, 2.5. EA seems to be UML 2.3.

Once you can load into Eclipse UML2 you can use UML2Ecore to convert to
an Ecore metamodel.

With nothing to look at, it's hard to comment further.

Regards

Ed Willink


On 25/11/2014 19:49, lami P wrote:
> Hello,
> I'm a beginner in EMF , i have done an extension of CWM by Entreprise
> architect and i generated the xmi file ,my question is how can i import
> that xmi file into EMF and create an ecore model from that and genered
> it ?
> Any help on how this can be done? :( Thanks
Re: import an xmi file into EMF [message #1489960 is a reply to message #1488136] Thu, 27 November 2014 20:56 Go to previous message
lami P is currently offline lami PFriend
Messages: 10
Registered: November 2014
Junior Member
my biggest question is how can i transform a CWM specification to an Ecore EMF ? i have done an extension of the CWM metamodel in Entreprise architect and i have also it rose .mdl , is there any way to import the CWM into EMF?

Thanks for help
Previous Topic:[Xcore]
Next Topic:XMI Resource & "OutOfMemoryError: GC Overhead limit exceeded"
Goto Forum:
  


Current Time: Sun Aug 18 10:44:27 GMT 2019

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

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

Back to the top