|[Acceleo] Problems during code re-generation [message #1060882]
||Tue, 28 May 2013 20:03
| Stefan Häusler
Registered: May 2013
i have written an EMF based code generator using Acceleo. The general workflow looks as follows:
- A couple of java classes are generated
- A couple of Eclipse Plugin project files are generated
- everything is put together in a specific folder structure, rdy to import into the Eclipse Workspace
- Import and code formatting is done by some Java service
Everything works fine, files do appear within the src-gen folder as well as the projects within my workspace.
When i now change something in my code templates, and i regenerate the code, often it happens that the change do not appear in the generated code files. Sometimes i need to start the generation two or three times and then finally the code changes. Sometimes it even apears that one class of the same type does contain the change, another does not.
I also have the feeling it fails more often, if i just change something regarding Javadoc in the template. So pretty strange behaviour and i am unable to determine the reason for it.
This also happens, if a deactivate the project import into the workspace. So even the src-gen folder sometimes did not reflect the changes i made in the templates.
Any hints for a direction, i should look at?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.13394 seconds