|[Acceleo] errors when starting m2t generation [message #688350]
||Fri, 24 June 2011 13:48
| Wilbert Alberts
Registered: June 2010
I upgraded to eclipse Indigo. Then I created a small meta model and an Acceleo model2text project.
When I execute an Acceleo launch configuration, I can confirm that the expected text is generated. As I want to execute the code generation from an eclipse runtime I generate an Acceleo UI project.
However, when I start a eclipse runtime configuration, containing all workspace plugins, I am unable to succesfully start the acceleo generation.
After starting the eclipse runtime, I open the model and then, using right-clock generate model to text, I try to start the text generation process. This fails with the following error:
!ENTRY org.eclipse.acceleo.engine 2 0 2011-06-24 15:43:31.256
!MESSAGE The generation fail to generate any file because there are no model elements that matches at least the type of the first parameter of one of your main templates.
The problem may be caused by a problem with the registration of your metamodel, please see the method named "registerPackages" in the Java launcher of your generator.
Any ideas? I don't understand what's going wrong here. Note that I did similar experiments using Helios succesfully.
Powered by FUDForum
. Page generated in 0.09759 seconds