[Acceleo] Unable to find module? [message #791755] |
Mon, 06 February 2012 08:15  |
Wilbert Alberts Messages: 205 Registered: June 2010 |
Senior Member |
|
|
Hi,
I'm trying to execute an Acceleo M2T transformation from java. Execution starts but it fails with trowing this exception:
org.eclipse.acceleo.engine.AcceleoEvaluationException: Could not find public template generate in module generate.
at org.eclipse.acceleo.engine.service.AcceleoService.findTemplates(AcceleoService.java:1084)
at org.eclipse.acceleo.engine.service.AcceleoService.doGenerate(AcceleoService.java:550)
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.generate(AbstractAcceleoGenerator.java:193)
at org.eclipse.acceleo.engine.service.AbstractAcceleoGenerator.doGenerate(AbstractAcceleoGenerator.java:158)
at asml.carm.pgwb.pgwb2c.files.Generate.doGenerate(Generate.java:192)
at asml.carm.pgwb.pgwbm2c.GenerateImplementation.generateCode(GenerateImplementation.java:103)
What I tried: I have two projects, one being a simple Acceleo project containing the actual transformation and one Java project that will be invoking the transformation. The project setup is such that the Java project depends on the Acceleo project.
In order to test this, I just execute a run-time eclipse instance from eclipse. Then when I invoke the java project (via a right-click pop menu entry) I get the exception.
I suspect that I need to configure where to find the templates but how? How should I make these projects depend on each other?
Greetings,
Wilbert.
[Updated on: Mon, 06 February 2012 08:16] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01943 seconds