[acceleo] standalone, no emtl found [message #901173] |
Fri, 10 August 2012 04:19  |
Eclipse User |
|
|
|
Hi,
I suppose this must be a beginners issue.
I created a M2T transformation and need to execute it outside eclipse. What I did was (after testing the transformation inside eclipse), use eclipse's export functionality to create a runnable jar. Attempts to execute it lead to:
java.io.IOException: '/foo/bar2baz/generator/common/bar2baz.emtl' not found
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.initialize(AbstractAcceleoGenerator.java:450)
at foo.bar2baz.generator.common.bar2baz.<init>(bar2baz.java:90)
at foo.bar2baz.generator.common.bar2baz.main(bar2baz.java:144)
Inspecting the jar learns that the emtl is not present. Adding it manually does not help either.
What is the proper (= easy and correct) way to solve this?
Greetings,
Wilbert
|
|
|
|
Re: [acceleo] standalone, no emtl found [message #903521 is a reply to message #901520] |
Fri, 24 August 2012 02:22  |
Eclipse User |
|
|
|
Hi Stephane,
Although I solved it earlier, and just read your reaction, I think you're right.
I solved it by having the 'export' option also generate an ant script. When I run the ant script, the emtl is included.
Thanks,
Wilbert.
|
|
|
Powered by
FUDForum. Page generated in 0.07290 seconds