Skip to content

Commit

Permalink
Eclipse 4.30 JDT Patch for Groovy-Eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Dec 8, 2023
1 parent 01c1e77 commit bc0819f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 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/2023-09/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/2023-12/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://groovy.jfrog.io/artifactory/plugins-release/e4.29` 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://groovy.jfrog.io/artifactory/plugins-release/e4.30` 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 3.0 compiler for Groovy-Eclipse. On the Eclipse menu bar, select *Window -> Preferences*. In the *Preferences* window, go to *Groovy -> Compiler*. Click the *Switch to 3.0.19* button, and let Eclipse restart.

### Install Execution Environment Descriptions

On the Eclipse menu bar, select *Help -> Install New Software...*. In the *Install* window, select `2023-09 - https://download.eclipse.org/releases/2023-09` 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 `2023-12 - https://download.eclipse.org/releases/2023-12` 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, 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.
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, 17 and 21.

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

Expand Down
4 changes: 2 additions & 2 deletions extras/groovy-eclipse-batch-builder/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ version5.0=5.0.0-01
do-50-build=true

# location of the plugins directory for the eclipse install
eclipse.install.plugins=C:/Users/Public/Eclipse-4.29/plugins
eclipse.install.plugins=C:/Users/Public/Eclipse-4.30/plugins

# location of the cloned groovy-eclipse git repository
git.repo.loc=C:/Users/Name/workspace/groovy-eclipse

# which JDT Core patch is active in your workspace?
jdt.patch.target=e429
jdt.patch.target=e430
6 changes: 2 additions & 4 deletions groovy-eclipse.setup
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,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://groovy.jfrog.io/artifactory/plugins-release/e4.30"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
filter="(| (scope.product.version.name=2023-09) (scope.product.version.name=latest.released))">
filter="(scope.product.version.name=2023-09)">
<requirement
name="org.codehaus.groovy.m2eclipse.feature.feature.group"/>
<repository
Expand Down Expand Up @@ -304,8 +304,6 @@
url="https://download.eclipse.org/releases/2023-12"/>
<repository
url="https://download.eclipse.org/eclipse/updates/4.30"/>
<repository
url="https://download.eclipse.org/eclipse/updates/4.30-I-builds/I20231201-0110"/>
</repositoryList>
<repositoryList
name="2023-09">
Expand Down
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.30</url>
</repository>
<repository>
<id>milestone</id>
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.30-I-builds/I20231201-0110</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e430/org.eclipse.jdt.core</module>
Expand Down

0 comments on commit bc0819f

Please sign in to comment.