diff options
author | 2021-10-02 19:55:26 +0200 | |
---|---|---|
committer | 2021-10-02 19:55:26 +0200 | |
commit | 66c136002dca446fba1c18187a9f317481f753ca (patch) | |
tree | 96d8113a3e4d3c869da3acd542b869d7f36ed0d3 /README.md | |
parent | ci: bump to Java 17 (diff) | |
download | refinery-66c136002dca446fba1c18187a9f317481f753ca.tar.gz refinery-66c136002dca446fba1c18187a9f317481f753ca.tar.zst refinery-66c136002dca446fba1c18187a9f317481f753ca.zip |
build: simplify Eclipse project generation
Make sure both the :generateXtext and :generateTestXtext task are run if
there is a generated xtend-gen source folder, so that BuildShip can set
ignore_optional_problems also on there.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | 7. Clone the project Git repository but do not import it into Eclipse yet. | 29 | 7. Clone the project Git repository but do not import it into Eclipse yet. |
30 | 30 | ||
31 | 8. Open a new terminal an run `./gradlew generateXtext eclipseJdt` (`.\gradlew generateXtext eclipseJdt` on Windows) in the cloned repository. | 31 | 8. Open a new terminal an run `./gradlew eclipseJdt` (`.\gradlew eclipseJdt` on Windows) in the cloned repository. |
32 | * This should complete without any compilation errors. | 32 | * This should complete without any compilation errors. |
33 | * If you get any errors about the JVM version, check whether the `JAVA_HOME` environment variable is set to the location of JDK. You can query the variable with `echo $JAVA_HOME` on Linux and `echo $Env:JAVA_HOME` in PowerShell on Windows. To set it, use `export JAVA_HOME=/java/path/here` or `$Env:JAVA_HOME="C:\java\path\here"`, respectively. | 33 | * If you get any errors about the JVM version, check whether the `JAVA_HOME` environment variable is set to the location of JDK. You can query the variable with `echo $JAVA_HOME` on Linux and `echo $Env:JAVA_HOME` in PowerShell on Windows. To set it, use `export JAVA_HOME=/java/path/here` or `$Env:JAVA_HOME="C:\java\path\here"`, respectively. |
34 | 34 | ||