[ATL] EMFVMLauncher [message #487975] |
Fri, 25 September 2009 07:30  |
Eclipse User |
|
|
|
Originally posted by: hein..fokus.fraunhofer
Hi,
I try to use the EMFVMLauncher in order to execute a transformation
directly without using the atl run configuration dialog. The
transformation takes several UML models as input as well as several UML
profiles.
I invoke the EMFVMLauncher with the following options.
options.put("supportUML2Stereotypes", "true");
options.put("allowInterModelReferences", "true");
However, I get the following exception:
org.eclipse.m2m.atl.engine.emfvm.VMException: Operation not found:
OclUndefined.getAllAppliedProfiles()
at __initprofileSystemCapabilities(System2ICT.atl[51:2-51:115])
local variables: self=thisModule
at main(System2ICT.atl)
local variables: self=thisModule
I think this is a typically beginner's mistake, therefore I wonder if
someone can give me a hint to solve the problem.
Thanks in advance
Christian
|
|
|
Re: [ATL] EMFVMLauncher [message #488667 is a reply to message #487975] |
Tue, 29 September 2009 16:46  |
Eclipse User |
|
|
|
Hi Christian,
It sounds as if the models were not correctly loaded. I guess that some of your models references other ones. In such a case if the referenced models are not correctly loaded, you are likely to get oclIUndefined errors whent your transformation tries to cross the link from one model to another.
If this is the problem I'm afraid I've the same but haven't found any solution yet.
In fact, more explanations on your models, the fact that the transformation works ( or not ) within eclipse, how the models are loaded ... all this would help to try to diagnose the problem.
Regards
Stephane
|
|
|
Powered by
FUDForum. Page generated in 0.18290 seconds