forked from groovy/groovy-eclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
groovy#297 Replace manual setup instructions with installer instructions
The main getting-started guide now contains the installer-based instructions. The old manual instructions are now in Manual-Setup.md for reference. Note that I removed the explicit instructions to have a JDK installed. IIRC the installer will detect presence/absence of java and point the user towards installation before being able to continue.
- Loading branch information
Showing
3 changed files
with
67 additions
and
76 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## Manual Development Environment Setup ## | ||
|
||
These are old instructions for setting up a Groovy-Eclipse development environment *manually*. It is much easier to use the new [automated setup based method](https://github.com/groovy/groovy-eclipse/blob/master/docs/Getting-Started-with-Groovy-Eclipse-Source-Code.md#development-environment-setup) instead. | ||
|
||
### Get the Base Eclipse Package | ||
|
||
Groovy-Eclipse is intended to be developed using Eclipse. Download and install [the "Eclipse IDE for Eclipse Committers" package (4.6 Neon)](http://www.eclipse.org/downloads/packages/eclipse-ide-eclipse-committers/neonr) 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 `http://dist.springsource.org/snapshot/GRECLIPSE/e4.6/` into the *Work with:* field and press enter. Check the boxes next to "Groovy-Eclipse" and "Extra Groovy compilers", then click the *Next* button a couple of times, accept the license agreement, and let Eclipse restart. | ||
|
||
### Setup Groovy-Eclipse Compiler | ||
|
||
On the Eclipse menu bar, select *Window -> Preferences*. In the *Preferences* window, go to *Groovy -> Compiler*. Click the *Switch to 2.1.9* button, and let Eclipse restart. | ||
|
||
### Install Execution Environment Descriptions | ||
|
||
On the Eclipse menu bar, select *Help -> Install New Software...*. In the *Install* window, select `Neon - http://download.eclipse.org/releases/neon` 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 7. Then go to *Java -> Installed JREs -> Execution Environments*, select JavaSE-1.7, and check the box next to JDK 7 in the list of compatible JREs. | ||
|
||
![API Baseline](images/eclipse-execution-environment.png) | ||
|
||
### Disable Missing API Baseline Errors | ||
|
||
On the Eclipse menu bar, select *Window -> Preferences*. In the *Preferences* window, go to *Plug-in Development -> API Baselines*. Select either *Ignore* or *Warning* instead of *Error* in the *Missing API Baseline:* drop-down list. | ||
|
||
![API Baseline](images/eclipse-api-baseline.png) | ||
|
||
## Get Source Code | ||
|
||
The source code can be obtained by cloning the repository: | ||
|
||
``` | ||
https://github.com/groovy/groovy-eclipse.git | ||
``` | ||
|
||
Import the projects that you want to work with into your workspace. If you do not know how to clone a repository or import projects from a repository, refer to the [EGit User Guide](https://wiki.eclipse.org/EGit/User_Guide). |