diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -6,27 +6,28 @@ | |||
6 | 6 | ||
7 | ### With Eclipse IDE | 7 | ### With Eclipse IDE |
8 | 8 | ||
9 | 1. Download and install a _Java 17_ compatible JDK. For Windows, prefer OpenJDK builds from [Adoptium](https://adoptium.net/). | 9 | 1. Download and install a _Java 19_ compatible JDK. For Windows, prefer OpenJDK builds from [Adoptium](https://adoptium.net/). |
10 | 10 | ||
11 | 2. Download and extract the [Eclipse IDE for Java and DSL Developers 2021-12](https://www.eclipse.org/downloads/packages/release/2021-12/r/eclipse-ide-java-and-dsl-developers) package. | 11 | 2. Download and extract the [Eclipse IDE for Java and DSL Developers 2022-09](https://www.eclipse.org/downloads/packages/release/2022-09/r/eclipse-ide-java-and-dsl-developers) package. |
12 | 12 | ||
13 | 3. Launch Eclipse and create a new workspace. | 13 | 3. Launch Eclipse and create a new workspace. |
14 | 14 | ||
15 | 4. Open _Help > Install New Software..._ and install the following software from the _2021-12_ update site: | 15 | 4. Open _Help > Install New Software..._ and install the following software from the _2022-09_ update site: |
16 | * _Modeling > Ecore Diagram Editor (SDK)_ | 16 | * _Modeling > Ecore Diagram Editor (SDK)_ |
17 | 17 | ||
18 | 5. Open _Help > Eclipse Marketplace_ and install the following software: | 18 | 5. Open _Help > Eclipse Marketplace_ and install the following software: |
19 | * _EclEmma Java Code Coverage_ | 19 | * _EclEmma Java Code Coverage_ |
20 | * _Java 19 Support for Eclipse 2022-09 (4.25)_ | ||
20 | * _SonarLint_ | 21 | * _SonarLint_ |
21 | 22 | ||
22 | 6. Open _Window > Preferences_ and set the following preferences: | 23 | 6. Open _Window > Preferences_ and set the following preferences: |
23 | * _General > Workspace > Text file encoding_ should be _UTF-8_. | 24 | * _General > Workspace > Text file encoding_ should be _UTF-8_. |
24 | * _General > Workspace > New text file line delimiter_ should be _Unix_. | 25 | * _General > Workspace > New text file line delimiter_ should be _Unix_. |
25 | * Add the JDK 17 to _Java > Installed JREs_. | 26 | * Add the JDK 19 to _Java > Installed JREs_. |
26 | * Make sure JDK 17 is selected for _JavaSE-17_ at _Java > Installed JREs > Execution Environments_. | 27 | * Make sure JDK 19 is selected for _JavaSE-19_ at _Java > Installed JREs > Execution Environments_. |
27 | * Set _Gradle > Java home_ to the `JAVA_HOME` directory (the directory which contains the `bin` directory) of JDK 17. Here, Buildship will show a yellow warning sign, which can be safely ignored. | 28 | * Set _Gradle > Java home_ to the `JAVA_HOME` directory (the directory which contains the `bin` directory) of JDK 17. Here, Buildship will show a yellow warning sign, which can be safely ignored. |
28 | * Set _Java > Compiler > JDK Compliance > Compiler compliance level_ to _17_. The warning about using Java 16 system libraries during compilation should disappear. | 29 | * Set _Java > Compiler > JDK Compliance > Compiler compliance level_ to _19_. The warning about using Java 16 system libraries during compilation should disappear. |
29 | 30 | ||
30 | 7. Clone the project Git repository but do not import it into Eclipse yet. | 31 | 7. Clone the project Git repository but do not import it into Eclipse yet. |
31 | 32 | ||
32 | 8. Open a new terminal an run `./gradlew prepareEclipse` (`.\gradlew prepareEclipse` on Windows) in the cloned repository. | 33 | 8. Open a new terminal an run `./gradlew prepareEclipse` (`.\gradlew prepareEclipse` on Windows) in the cloned repository. |
@@ -36,11 +37,11 @@ | |||
36 | 37 | ||
37 | 9. Select _File > Import... > Gradle > Existing Gradle Project_ and import the cloned repository in Eclipse. | 38 | 9. Select _File > Import... > Gradle > Existing Gradle Project_ and import the cloned repository in Eclipse. |
38 | * Make sure to select the root of the repository (containing this file) as the _Project root directory_ and that the _Gradle distribution_ is _Gradle wrapper_. | 39 | * Make sure to select the root of the repository (containing this file) as the _Project root directory_ and that the _Gradle distribution_ is _Gradle wrapper_. |
39 | * If you have previously imported the project into Eclipse, this step will likely fail. In that case, you should remove the projects from Eclipse, run `git clean -fxd` in the repository, and start over from step 8. | 40 | * If you have previously imported the project into Eclipse, this step will likely fail. In that case, you should remove the projects from Eclipse, run `git clean -fxd` in the repository, and start over from step 8. |
40 | 41 | ||
41 | ### With IntelliJ IDEA | 42 | ### With IntelliJ IDEA |
42 | 43 | ||
43 | It is possible to import the project into IntelliJ IDEA, but it gives no editing help for Xtext (`*.xtext`), MWE2 (`*.mwe2`), and Xtend (`*.xtend`) and Ecore class diagrams (`*.aird`, `*.ecore`, `*.genmodel`). | 44 | It is possible to import the project into IntelliJ IDEA, but it gives no editing help for Xtext (`*.xtext`), MWE2 (`*.mwe2`), and Xtend (`*.xtend`) and Ecore class diagrams (`*.aird`, `*.ecore`, `*.genmodel`). |
44 | 45 | ||
45 | ## License | 46 | ## License |
46 | 47 | ||