Skip to content

Commit

Permalink
Eclipse 4.19 JDT Patch for Groovy-Eclipse: JDT commit 37880e2
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Mar 17, 2021
1 parent cecdca8 commit ae69b14
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 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/2020-12/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-03/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.18` 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.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.

### 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 `2020-12 - https://download.eclipse.org/releases/2020-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.
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.

![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.7-02
version3.0=3.0.7-03
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 @@ version4.0=4.0.0-01
do-40-build=true

# location of the plugins directory for the eclipse install
eclipse.install.plugins=C:/Users/Public/Eclipse-4.18/plugins
eclipse.install.plugins=C:/Users/Public/Eclipse-4.19/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=e418
jdt.patch.target=e419
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-03) (scope.product.version.name=latest))">
filter="(| (scope.product.version.name=2021-03) (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.19"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
filter="(| (scope.product.version.name=2020-12) (scope.product.version.name=latest.released))">
filter="(scope.product.version.name=2020-12)">
<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-03"/>
<repository
url="https://download.eclipse.org/eclipse/updates/4.19milestones"/>
url="https://download.eclipse.org/eclipse/updates/4.19"/>
</repositoryList>
<repositoryList
name="2020-12">
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.19-I-builds/I20210303-1800</url>
<url>https://download.eclipse.org/eclipse/updates/4.19</url>
</repository>
</repositories>
<modules>
Expand Down

0 comments on commit ae69b14

Please sign in to comment.