Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [AM3] Wrinting UML models with ANT plugin
[AM3] Wrinting UML models with ANT plugin [message #384820] Thu, 21 August 2008 12:26 Go to next message
Max Bureck is currently offline Max BureckFriend
Messages: 72
Registered: July 2009
Member
Hello,

I am using the AM3 ANT plugin to save a UML model (using the am3.saveModel
Task). The UML model contains some classes with stereotypes applied. In
another target I load this model and start an ATL-transformation, which
uses this model as an inputmodel. In this transformation the applied
stereotypes are not recognized. If I start the transformation over an
Eclipse run-configuration everything works fine.
I looked in the generated .uml files and found that AM3 uses paths for
references in the UML-model, whereas ATL uses xmi:id attributes and
references the ids. It seems that references via path are not working for
applied stereotypes. And there is another downside of the paths: When
using model elements with names that contain spaces, the paths cannot be
dereferenced.
Is there a workaround, like an extractor for the am3.saveModel task that
can save the UML model with xmi:id attributes and references?

BTW: I am using Eclipse Ganymede with AM3 from the CVS (downloaded
yesterday).

Greetings,
Max
Re: [AM3] Writing UML models with ANT plugin [message #384902 is a reply to message #384820] Mon, 25 August 2008 13:45 Go to previous message
Max Bureck is currently offline Max BureckFriend
Messages: 72
Registered: July 2009
Member
Hello,

I don't know why, but the stereotypes are recognized now.
But I have still problems with spaces in names of model-elements. It would
help me a lot if somebody had a solution for that!

With kind regards,
Max
Re: [AM3] Writing UML models with ANT plugin [message #620049 is a reply to message #384820] Mon, 25 August 2008 13:45 Go to previous message
Max Bureck is currently offline Max BureckFriend
Messages: 72
Registered: July 2009
Member
Hello,

I don't know why, but the stereotypes are recognized now.
But I have still problems with spaces in names of model-elements. It would
help me a lot if somebody had a solution for that!

With kind regards,
Max
Previous Topic:[xtext] Error in the generated PartitionScanner
Next Topic:[MOFScript] Ecore2<<Something>> elaborate example
Goto Forum:
  


Current Time: Fri Nov 28 03:30:12 GMT 2014

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

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