Skip to content

Commit

Permalink
Eclipse 4.24 JDT Patch for Groovy-Eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Jun 15, 2022
1 parent 0561810 commit 9ab1fd2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
8 changes: 4 additions & 4 deletions docs/Manual-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ These are old instructions for setting up a Groovy-Eclipse development environme

### Get the Base Eclipse Package

Groovy-Eclipse is intended to be developed using Eclipse. Download and install [the "Eclipse IDE for Eclipse Committers" package](https://www.eclipse.org/downloads/packages/release/2022-03/r/eclipse-ide-eclipse-committers) for your operating system.
Groovy-Eclipse is intended to be developed using Eclipse. Download and install [the "Eclipse IDE for Eclipse Committers" package](https://www.eclipse.org/downloads/packages/release/2022-06/r/eclipse-ide-eclipse-committers) for your operating system.

### Install Groovy-Eclipse

On the Eclipse menu bar, select *Help -> Install New Software...*. In the *Install* window, paste the Groovy-Eclipse update site `https://dist.springsource.org/snapshot/GRECLIPSE/e4.23` into the *Work with:* field and press enter. Check the box next to "Main Package", then click the *Next* button a couple of times, accept the license agreement, and let Eclipse restart.
On the Eclipse menu bar, select *Help -> Install New Software...*. In the *Install* window, paste the Groovy-Eclipse update site `https://dist.springsource.org/snapshot/GRECLIPSE/e4.24` into the *Work with:* field and press enter. Check the box next to "Main Package", then click the *Next* button a couple of times, accept the license agreement, and let Eclipse restart.

### Setup Groovy Compiler

If you installed extra Groovy compiler versions, then you must activate Groovy 2.5 compiler for Groovy-Eclipse. On the Eclipse menu bar, select *Window -> Preferences*. In the *Preferences* window, go to *Groovy -> Compiler*. Click the *Switch to 2.5.17* button, and let Eclipse restart.

### Install Execution Environment Descriptions

On the Eclipse menu bar, select *Help -> Install New Software...*. In the *Install* window, select `2022-03 - https://download.eclipse.org/releases/2022-03` from the *Work with:* field and enter "exeuction" in the filter. Check the boxes next to "API Tools Execution Environment Descriptions", and click the *Next* button a couple of times, accept the license agreement, and let Eclipse restart.
On the Eclipse menu bar, select *Help -> Install New Software...*. In the *Install* window, select `2022-06 - https://download.eclipse.org/releases/2022-06` from the *Work with:* field and enter "exeuction" in the filter. Check the boxes next to "API Tools Execution Environment Descriptions", and click the *Next* button a couple of times, accept the license agreement, and let Eclipse restart.

![API Baseline](images/eclipse-api-tools-execution-environment.png)

### Setup Execution Environment Descriptions

On the Eclipse menu bar, select *Window -> Preferences*. In the *Preferences* window, go to *Java -> Installed JREs* and add JDK 8 and 11. Then go to *Java -> Installed JREs -> Execution Environments*, select JavaSE-1.8, and check the box next to JDK 8 in the list of compatible JREs. Repeat for JDK 11 and 17.
On the Eclipse menu bar, select *Window -> Preferences*. In the *Preferences* window, go to *Java -> Installed JREs* and add JDK 8, 11 and 17. Then go to *Java -> Installed JREs -> Execution Environments*, select JavaSE-1.8, and check the box next to JDK 8 in the list of compatible JREs. Repeat for JDK 11 and 17.

![API Baseline](images/eclipse-execution-environment.png)

Expand Down
6 changes: 2 additions & 4 deletions groovy-eclipse.setup
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
filter="(| (scope.product.version.name=2022-06) (scope.product.version.name=latest))">
filter="(| (scope.product.version.name=2022-06) (scope.product.version.name=latest) (scope.product.version.name=latest.released))">
<requirement
name="org.codehaus.groovy.m2eclipse.feature.feature.group"/>
<repository
url="https://dist.springsource.org/snapshot/GRECLIPSE/e4.24"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
filter="(| (scope.product.version.name=2022-03) (scope.product.version.name=latest.released))">
filter="(scope.product.version.name=2022-03)">
<requirement
name="org.codehaus.groovy.m2eclipse.feature.feature.group"/>
<repository
Expand Down Expand Up @@ -298,8 +298,6 @@
url="https://download.eclipse.org/releases/2022-06"/>
<repository
url="https://download.eclipse.org/eclipse/updates/4.24"/>
<repository
url="https://download.eclipse.org/eclipse/updates/4.24-I-builds/I20220607-0700"/>
</repositoryList>
<repositoryList
name="2022-03">
Expand Down
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,6 @@
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.24</url>
</repository>
<repository>
<id>milestone</id>
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.24-I-builds/I20220607-0700</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e424/org.eclipse.jdt.core</module>
Expand Down

0 comments on commit 9ab1fd2

Please sign in to comment.