Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Profile with ATL
Profile with ATL [message #747081] Sun, 23 October 2011 22:41 Go to next message
Flower Missing name is currently offline Flower Missing nameFriend
Messages: 8
Registered: October 2011
Junior Member
Profiles in Atl
Hello everyone, I hope to find help, I am doing a job using M2M in Atl and I need to transform a UML model enriched with a profile, but can not find the sentence to reference the profile of a class with ATL?, The model is already Enrichment with the profile, no need to add some reference in the transformation?. If someone can pass me some example I thank you very much.
Re: Profile with ATL [message #747656 is a reply to message #747081] Mon, 24 October 2011 07:53 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 62
Registered: July 2009
Member
Hi Flower,

Working with profile is shortly described here -
http://wiki.eclipse.org/ATL_Howtos#How_can_I_transform_UML_models.3F

To use UML profiles one has to select the "Support UML2 Stereotype
Application" check-box from the "Advanced" tab of the ATL Launch
Configuration.

Best wishes,

--
Tatiana Fesenko
ModelSolv, Inc.
Model-Oriented Solutions for Service Integration
Re: Profile with ATL [message #748690 is a reply to message #747656] Mon, 24 October 2011 21:04 Go to previous messageGo to next message
Flower Missing name is currently offline Flower Missing nameFriend
Messages: 8
Registered: October 2011
Junior Member
Tatiata thank you very much! I'll see if I incorporate and work .. Thanks for the help!
Re: Profile with ATL [message #748810 is a reply to message #747656] Mon, 24 October 2011 22:47 Go to previous messageGo to next message
Flower Missing name is currently offline Flower Missing nameFriend
Messages: 8
Registered: October 2011
Junior Member
Tatiana, settings what you say and now I get an error similar to the above, you all right?:

org.eclipse.m2m.atl.engine.emfvm.VMException: Operation not found: IN! Class1_1: UML2! Class.getAppliedStereotype (java.lang.String)
at isService (uml2java.atl [96:7-96:54])
local variables: self = IN! Class1_1: UML2! Class
at __matchElement (uml2java.atl [320:22-320:35])
local variables: self = thisModule, e = IN! Class1_1: UML2! Class
at __matcher__ (uml2java.atl)
local variables: self = thisModule
at main (uml2java.atl)
local variables: self = thisModule

thank you!
Re: Profile with ATL [message #751846 is a reply to message #748810] Wed, 26 October 2011 07:21 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 62
Registered: July 2009
Member
Hi Flower,

On 10/25/11 2:47 AM, Flower wrote:
> Tatiana, settings what you say and now I get an error similar to the
> above, you all right?:

I am sorry to hear that your transformation throws an exception. My ATL
transformations with UML profiles work as expected.

There was a discussion about similar problem in the newsgroup -
news://news.eclipse.org:119/iha523$ipe$1@news.eclipse.org . Probably you
can find something useful there.

From my side I can only suggest to make sure that you are using
"EMF-specific VM" as "ATL Virtual Machine". You can select it in the
"Advanced" tab of ATL launch configuration.

Best wishes,
--
Tatiana Fesenko
ModelSolv, Inc.
Model-Oriented Solutions for Service Integration
Re: Profile with ATL [message #753363 is a reply to message #751846] Wed, 26 October 2011 20:44 Go to previous message
Flower Missing name is currently offline Flower Missing nameFriend
Messages: 8
Registered: October 2011
Junior Member
It quelled when I served your help. I also had problems with the input UML.ecore version was old! .. Thank you very much for being so attentive.
Greetings!, Flower
Previous Topic:[ATL] iterate() operation
Next Topic:[QVTO] Executing OCL queries
Goto Forum:
  


Current Time: Thu Apr 25 00:49:21 GMT 2024

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

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

Back to the top