A small example to show how to configure a Maven build for an Xtext language. It includes:
Language Example (my.mavenized.herolanguage)
- Language plug-ins, updatesite and Eclipse feature built via Maven/Tycho
- Xtext Code Generation (Language infrastructure generated from grammar)
- Xtend Code Generation
Example Usage (example-project)
- Built via Maven (no Tycho!)
- Example Language (herolanguage) Code Generation
- Xtend Code Generation
Try it out!
export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m"
cd my.mavenized.herolanguage.releng/
mvn clean install
cd ../example-project/
mvn clean install
We now have automatic builds: