[Acceleo] Create Standalone application [message #909092] |
Thu, 06 September 2012 10:18  |
Eclipse User |
|
|
|
Hi,
I'm trying to create a standalone application with acceleo. When running acceleo in eclipse everything works fine. But as soon as I try to export my project as a "runnable jar" file the applications crashes with the well known error ".emtl" not found. It seems that the export command does not pack the .emtl-files inside the jar??
However, now I'm trying to create my jar file with an ant-script. This seems to work fine. I just need to overwrite the method @Override
protected URI createTemplateURI(String entry) {
return URI.createURI(URI.decode(entry));
} to tell acceleo to load the .emtl-files from inside the jar file. The execution fails with the error message "org.eclipse.acceleo.engine.AcceleoEvaluationException: Error while resolving module dependencies". Okay. Fine. Acceleo doesn't seem to like One-Jar-Applications. So my quenstion is: What is the best way to deploy an acceleo code generator as a standalone application?
|
|
|
|
Powered by
FUDForum. Page generated in 0.05589 seconds