Xtext 2.8.x Project Building in Xtext 2.10 with Maven Not Workign [message #1774857] |
Fri, 20 October 2017 10:58  |
Eclipse User |
|
|
|
I'm stumped. I have a working Xtext 2.8.x Project that we were building manually.
I've been able to get 2 Xtext 2.10 Maven projects to build successfully in Jenkins and I've copied over these Maven/Tycho setup poms and adjusted them into my Xtext 2.8.x Project.
What I'm seeing is that Maven/Tycho is not actually building the xtend-gen and src-gen directories during the clean install Maven run. This results in compile errors.
If I, instead, allow Eclipse to build the src-gen/xtend-gen directories, then I run Maven, I get a successful build and deployment (but I know Maven isn't really building the Xtext artifacts).
I briefly attempted to change my MWE2 workflow from 2.8.x to 2.10 but there is such a significant difference and change in project directory structure (the ide split) that I don't want to go down that path. Nearly a full day of swimming in problems has convinced me I don't want to go to the newest MWE2 for this project unless I just want to hand migrate and start from 2.10+ from scratch and rebuild it all.
Can anyone think of any Maven tricks I can play in the POMs to get my 2.8.x Xtext Project to build with 2.10 in Maven? Everything works and compiles fine in the Eclipse IDE with the target set to 2.10, so that shouldn't be an issue, I just can't figure out how to tell Maven to generate the src-gen/xtend-gen directories with Maven and my current MWE2.
Any tricks?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06161 seconds