Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] EMFVMLauncher
[ATL] EMFVMLauncher [message #487975] Fri, 25 September 2009 07:30 Go to next message
Eclipse UserFriend
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 Go to previous message
stephane  is currently offline stephane Friend
Messages: 3
Registered: September 2009
Junior Member
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
Previous Topic:[ATL] Lazy rules with multiple parameters
Next Topic:[ATL] Interpreter freeze
Goto Forum:
  


Current Time: Thu Apr 25 12:36:05 GMT 2024

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

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

Back to the top