Skip to content

Commit

Permalink
Eclipse 4.20 JDT Patch for Groovy-Eclipse: JDT commit 14a4991
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Jun 16, 2021
1 parent 063d77e commit 5640837
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/Manual-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ 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/2021-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/2021-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.19` 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.20` 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.14* button, and let Eclipse restart.

### Install Execution Environment Descriptions

On the Eclipse menu bar, select *Help -> Install New Software...*. In the *Install* window, select `2021-03 - https://download.eclipse.org/releases/2021-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 `2021-06 - https://download.eclipse.org/releases/2021-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)

Expand Down
6 changes: 3 additions & 3 deletions extras/groovy-eclipse-batch-builder/build.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# version numbers
version2.5=2.5.14-01
version3.0=3.0.8-01
version3.0=3.0.8-02
version4.0=4.0.0-01

# uncomment to do a particular build -- only one should be uncommented at a time
Expand All @@ -9,10 +9,10 @@ do-30-build=true
#do-40-build=true

# location of the plugins directory for the eclipse install
eclipse.install.plugins=C:/Users/Public/Eclipse-4.19/plugins
eclipse.install.plugins=C:/Users/Public/Eclipse-4.20/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=e419
jdt.patch.target=e420
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<properties>
<maven.compiler.fork>true</maven.compiler.fork>
<maven.compiler.release>15</maven.compiler.release>
<maven.compiler.release>16</maven.compiler.release>
<project.build.sourceEncoding>US-ASCII</project.build.sourceEncoding>
</properties>

Expand Down
6 changes: 3 additions & 3 deletions groovy-eclipse.setup
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
filter="(| (scope.product.version.name=2021-06) (scope.product.version.name=latest))">
filter="(| (scope.product.version.name=2021-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.20"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
filter="(| (scope.product.version.name=2021-03) (scope.product.version.name=latest.released))">
filter="(scope.product.version.name=2021-03)">
<requirement
name="org.codehaus.groovy.m2eclipse.feature.feature.group"/>
<repository
Expand Down Expand Up @@ -291,7 +291,7 @@
<repository
url="https://download.eclipse.org/releases/2021-06"/>
<repository
url="https://download.eclipse.org/eclipse/updates/4.20-I-builds/I20210611-1600"/>
url="https://download.eclipse.org/eclipse/updates/4.20"/>
</repositoryList>
<repositoryList
name="2021-03">
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<repository>
<id>eclipse</id>
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.20-I-builds/I20210611-1600</url>
<url>https://download.eclipse.org/eclipse/updates/4.20</url>
</repository>
</repositories>
<modules>
Expand Down

0 comments on commit 5640837

Please sign in to comment.