A collection of xtext sample projects for build integration tests
Only recent Xtext releases are kept here; reference projects for versions older than 2.41 are dropped.
- create the project
- create a new project via the wizard and commit the generated files
- the generated project should be located under [projectName]-[buildSystem]/[xtextVersion]/
- generate the language and commit the generated source files
- add the project to the CI build
- create a shell script in the scripts folder
- in
.github/workflows/build.yml, add a job that sets up the required JDK and runs the shell script
- add the wizard configuration used to generate the project to this README file
| greetings-gradle | greetings-maven | greetings-tycho | |
|---|---|---|---|
| Eclipse plug-in | NO | NO | YES |
| Create Feature | NO | NO | YES |
| Create Update Site | NO | NO | YES |
| IntelliJ IDEA plug-in | NO | NO | NO |
| Web Integration | NO | NO | NO |
| Generic IDE Support | YES | YES | YES |
| Testing Support | YES | YES | YES |
| Preferred Build System | Gradle | Maven | Maven |
| Build Language Server | Fat Jar | Fat Jar | App |
| Source Layout | Maven/Gradle | Maven/Gradle | Plain |
Projects are generated for Java 17. Projects that target a newer Java version get a suffix: '-J21' for Java 21 and '-J25' for Java 25.
If the build of a gradle project fails with the output "./gradlew: Permission denied", it is possible that the execution rights for "gradlew" are not set correctly. To fix this, run "git update-index --chmod=+x gradlew" in the root folder of the project.