Abstract*RuntimeModule generation woes [message #1176292] |
Fri, 08 November 2013 03:40  |
Eclipse User |
|
|
|
Hi,
I am currently struggling with the following behaviour of Xtext and/or the MWE2 workflow we use to generate its code:
When I initially run the workflow with the fornax-oaw-m2-plugin (so no Eclipse IDE involved yet), it generates (under "src") a "TemplateRuntimeModule.java" and (under "target/generated-sources/xtext", as we follow the Maven conventions) an "AbstractTemplateRuntimeModule.java" containing lots of stuff.
The trouble begins when I change anything in "TemplateRuntimeModule.java". This includes entirely insubstantial changes like changing whitespace to make it conform to our Checkstyle rules. The next "mvn clean install" then leaves the "TemplateRuntimeModule.java" as is (OK) and regenerates a "AbstractTemplateRuntimeModule.java" -- which misses most of the stuff that was previously there (not OK).
What am I doing wrong? Why is stuff I do unter "src" influencing what's generated for abstract base classes under "target/generated-sources/xtext"?
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04298 seconds