Profile with ATL [message #747081] |
Sun, 23 October 2011 22:41  |
Eclipse User |
|
|
|
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 #748810 is a reply to message #747656] |
Mon, 24 October 2011 22:47   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03067 seconds