Skip to content

Commit

Permalink
Eclipse 4.22 JDT Patch for Groovy-Eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Dec 8, 2021
1 parent fe8f02d commit bcddac2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 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-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/2021-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://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.
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.22` 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.15* 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-09 - https://download.eclipse.org/releases/2021-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 `2021-12 - https://download.eclipse.org/releases/2021-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)

Expand Down
6 changes: 2 additions & 4 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-12) (scope.product.version.name=latest))">
filter="(| (scope.product.version.name=2021-12) (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.22"/>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
filter="(| (scope.product.version.name=2021-09) (scope.product.version.name=latest.released))">
filter="(scope.product.version.name=2021-09)">
<requirement
name="org.codehaus.groovy.m2eclipse.feature.feature.group"/>
<repository
Expand Down Expand Up @@ -292,8 +292,6 @@
url="https://download.eclipse.org/releases/2021-12"/>
<repository
url="https://download.eclipse.org/eclipse/updates/4.22"/>
<repository
url="https://download.eclipse.org/eclipse/updates/4.22-I-builds/I20211124-1800"/>
</repositoryList>
<repositoryList
name="2021-09">
Expand Down
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.22</url>
</repository>
<repository>
<id>milestone</id>
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.22-I-builds/I20211124-1800</url>
</repository>
</repositories>
<modules>
<module>jdt-patch/e422/org.eclipse.jdt.core</module>
Expand Down

0 comments on commit bcddac2

Please sign in to comment.