Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Magicdraw EMF UML2 export(Magicdraw EMF UML2 export)
Magicdraw EMF UML2 export [message #1037970] Wed, 10 April 2013 08:33 Go to next message
Benoit Lelandais is currently offline Benoit LelandaisFriend
Messages: 19
Registered: November 2011
Junior Member
Hi,

We use Magicdraw 17.0.1 and export our model in "EMF UML v3.x". Then, we load the "*.uml" files in Eclipse to transform the model and generate code.

It works fine with Eclipse 3.7 and MDT UML2 3.0.0.

With Eclipse 3.8 and MDT UML2 4.0.0 all the comments (instance from uml::Comment) are lost because Magicdraw writes them as XML attributes (body="my comment body") and Eclipse 3.8 needs them as XML elements (<body>my comment body</body>) whereas Eclipse 3.7 can read both.

What can we do ?
Thanks for help.
Re: Magicdraw EMF UML2 export [message #1038171 is a reply to message #1037970] Wed, 10 April 2013 13:50 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1618
Registered: July 2009
Senior Member
This sounds like a regression. Could you open a bug report and attach a
representative sample?

Kenn

On 13-04-10 4:33 AM, Benoit Mising name wrote:
> Hi,
>
> We use Magicdraw 17.0.1 and export our model in "EMF UML v3.x". Then, we
> load the "*.uml" files in Eclipse to transform the model and generate code.
>
> It works fine with Eclipse 3.7 and MDT UML2 3.0.0.
>
> With Eclipse 3.8 and MDT UML2 4.0.0 all the comments (instance from
> uml::Comment) are lost because Magicdraw writes them as XML attributes
> (body="my comment body") and Eclipse 3.8 needs them as XML elements
> (<body>my comment body</body>) whereas Eclipse 3.7 can read both.
>
> What can we do ?
> Thanks for help.
>
Re: Magicdraw EMF UML2 export [message #1038219 is a reply to message #1038171] Wed, 10 April 2013 15:12 Go to previous messageGo to next message
Benoit Lelandais is currently offline Benoit LelandaisFriend
Messages: 19
Registered: November 2011
Junior Member
Done.
Bug 405374.

Thanks for your answer.
Re: Magicdraw EMF UML2 export [message #1038407 is a reply to message #1037970] Wed, 10 April 2013 20:46 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4188
Registered: July 2009
Senior Member
Hi

If you're using legacy formats you should use 4.0.2 rather than 4.0.0.
Probably won't help with the comment problem but it may avoid other
known issues.

Regards

Ed Willink

On 10/04/2013 09:33, Benoit Mising name wrote:
> Hi,
>
> We use Magicdraw 17.0.1 and export our model in "EMF UML v3.x". Then,
> we load the "*.uml" files in Eclipse to transform the model and
> generate code.
>
> It works fine with Eclipse 3.7 and MDT UML2 3.0.0.
>
> With Eclipse 3.8 and MDT UML2 4.0.0 all the comments (instance from
> uml::Comment) are lost because Magicdraw writes them as XML attributes
> (body="my comment body") and Eclipse 3.8 needs them as XML elements
> (<body>my comment body</body>) whereas Eclipse 3.7 can read both.
>
> What can we do ?
> Thanks for help.
>
Re: Magicdraw EMF UML2 export [message #1038851 is a reply to message #1038407] Thu, 11 April 2013 12:28 Go to previous message
Benoit Lelandais is currently offline Benoit LelandaisFriend
Messages: 19
Registered: November 2011
Junior Member
We are now in 4.0.2 and we have integrated the bug correction provided by Kenn.
It works fine. Perfect.
Thanks a lot.
Previous Topic:Re: Specifying derived values in a UML model
Next Topic:How to register a UML Profile
Goto Forum:
  


Current Time: Sun Dec 21 01:22:31 GMT 2014

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

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