Git / Maven Setup for standalone build [message #1841581] |
Fri, 21 May 2021 03:42  |
Eclipse User |
|
|
|
Hi,
I am creating a new DSL with Git, GitLab and Maven, following Lorenzo's book and this guide:
https://www.eclipse.org/Xtext/documentation/350_continuous_integration.html
I am kinda new to Maven and Tycho but reasonably experienced with XText.
So far, everything works fine, so the Feature is nicely build by maven and works fine.
Now I would like to add a standalone version of the compiler. In my previous DSL projects I always creates a new Eclipse project that is not an Eclipse Plugin but a simple Java project where I used a Main.java class to read the .mydsl-files, compile them and write back the generated sources. I then used the compiled .jar file wherever I needed to compile my sources.
Now I wonder how I would do this with my new Maven setup - I might not have understood the guide (https://www.eclipse.org/Xtext/documentation/350_continuous_integration.html) correctly and could not find the Standalone code in the linked example (https://github.com/xtext/maven-xtext-example).
My questions:
1. would I still create a new plain Java project for the Standalone-Compiler (now build with Maven)?
2. if so, where would this project go? would it just be an additional module of my parent POM and go directly in the same Git repo or would I use a new Git repo for this?
3. In the guide (https://www.eclipse.org/Xtext/documentation/350_continuous_integration.html) the "Integration in Standard Maven Builds" is mentioned. Does the "standard maven build" actually refer to the Standalone-Compiler I described above?
Sorry for my confusion!
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03810 seconds