Maven Tycho Build - Plugin Removes and Doesn't Regenerate its xtend-gen [message #1769707] |
Wed, 02 August 2017 15:53  |
Eclipse User |
|
|
|
I'm perplexed (again).
I'm migrating our build flow to to Maven Tycho. I'm baby stepping my way through building my Xtext tools with Maven Tcyho.
Thus far I've built the provided Xtext example in Eclipse (org.example.xtext.mydsl or something like that). Then I graduated to building one of my DSLs that has two grammars in both Eclipse and in Jenkins using Maven Tycho.
Now I've gained confidence and I'm trying to build even more complex products. But I've hit a wall.
I have a DSL that successfully builds using Maven Tycho in Eclipse, but won't build in Jenkins.
The symptom appears to be that during compile, Maven is cleaning out the xtend-gen/ directory, but not re-building it. This results in a compile error because My DslActivator.java is trying to import a Class that exists in the xtend-gen directory -> but since that directly was cleaned and never re-generated, it can't compile.
I'm puzzled because all of my pom.xml files have been based on previous successful builds in both Eclipse and Jenkins.
Any helpful hints as to why xtend-gen would be removed, then never re-built would be helpful.
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05136 seconds