|MoDisco 0.8 Java Code Generation [message #664494]
||Sat, 09 April 2011 22:11
Registered: February 2011
I am trying to do code generation with MoDisco/Acceleo using Generate_JavaStructure with MoDisco 0.8/Helios.
I created an Acceleo Plugin-Project and added the dependency to the org.eclipse.gmt.modisco.java.generation package.
After that I created a Run Configuration pointing to the Generate_JavaStructure class and the javaxmi model I preliminary created from the reverse engineering tool with modisco.
This is at least what I get from
http:// wiki.eclipse.org/MoDisco/Components/Java/Documentation/0.8#J ava_Generation.
But running the Configuration on the model I get no output or results.
I tried to use the model within a test installation based on Indigo and MoDisco 0.9 with the context entry to create java code from model, which works for the model.
But I don't want to switch to the non final versions of my tools in the middle of the project.
I would appreciate it if anybody has an explanation for this problem.
using: MoDisco 0.8.2, Acceleo 3.0.2
Some additional information:
I opend my workspace in latest Milestone of Indigo with MoDisco 0.9 and did the same Run Configuration there and it worked.
I noticed the difference, that the Generate_JavaStructure class in 0.8.2 is not a subclass of AbstractAcceleoGenerator whereas in 0.9 the deprecated one and GenerateJavaExtended are subclasses.
According to Acceleo Documentation the Generator must extend AbstractAcceleoGenerator to work.
Have there been any changes in Acceleo Versions which require this subclassing now?
many thx in advance
[Updated on: Sun, 10 April 2011 12:20]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02354 seconds