refining mode programmatically [message #641153] |
Wed, 24 November 2010 12:48 |
Eclipse User |
|
|
|
Originally posted by: javi.criado.gmail.com
Hello,
I'm trying to launch a refining mode ATL transformation
programmatically, but I get the next error message:
org.eclipse.m2m.atl.engine.vm.VMException: Cannot find model RefiningTrace
at A.main() : ??#24(t1ref.atl)
local variables = {self=t1ref : ASMModule}
local stack = []
I've tried to load this RefiningTrace model but I don't know how.
Regards,
Javier
|
|
|
|
Re: refining mode programmatically [message #641404 is a reply to message #641170] |
Thu, 25 November 2010 10:57 |
Eclipse User |
|
|
|
Originally posted by: javi.criado.gmail.com
I've tried this, but I get a NullPointerException error at the first
line: ModelFactory factory = CoreService.createModelFactory("EMF");
so I can't create the factory element, neither the injector or the
extractor.
|
|
|
|
Re: refining mode programmatically [message #642287 is a reply to message #641432] |
Tue, 30 November 2010 16:27 |
Eclipse User |
|
|
|
Originally posted by: javi.criado.gmail.com
Thank you very much for your response. There was a library version
problem. The concrete library is: org.eclipse.emf.ecore
I was trying with version 2.5.0 and I've changed to 2.6.1 to get a
correct transformation.
Thank you again.
Javier Criado
|
|
|
Powered by
FUDForum. Page generated in 0.03747 seconds