[MWE2] Help executing mwe2 workflows from java [message #668418] |
Thu, 05 May 2011 11:29  |
Eclipse User |
|
|
|
We have 2 MWE2 files.
Thanks to an XpandComponent, the first one generates an Xtend file inside the Eclipse project.
The second MWE2 file uses the previously generated Xtend file to transform a model.
If we execute the 2 MWE2 workflows in Eclipse, it works.
Now, we try to write a Java code to call the 2 MWE2 files sequentially.
Injector injector = new Mwe2StandaloneSetup().createInjectorAndDoEMFRegistration();
Mwe2Runner mr = injector.getInstance(Mwe2Runner.class);
mr.run("mwe_1",params);
mr.run("mwe_2",params);
We have the following error : the second MWE2 workflow doesn't find the generated Xtend file. It seems like a refresh problem ?
Exception in thread "main" java.lang.RuntimeException: Problems running workflow :
[ERROR]: Property 'invoke' not specified properly. AbstractExtension file 'gen::foo' not found.
Thanks for help
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04345 seconds