...
For more details and installation instructions, visit http://m2eclipse.codehaus.org/.
Installing Eclipse
The prerequisite Eclipse software for GEP should be downloaded as a single download, which is called the Eclipse IDE for Java EE developers. It can be downloaded from the Eclipse Downloads site. Download and extract the Eclipse IDE for Java EE Developers archives to a directory of your choice (for e.g. C:\eclipse). The archive will be extracted to a directory named eclipse under the directory you specified (for e.g. C:\eclipse\eclipse), referred to as <eclipse_home> from now on. Make sure that the JDK in the PATH is Sun JDK 5.0. Launch Eclipse by running <eclipse_home>/eclipse.
Using Ant script from GEP build
You can use the ant script (used to build the GEP) that will download and extract all the prerequisites except the Sun JDK 5.0 using the steps below:
- Download the ant script from http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/tags/2.1.1/eclipse/build.xml and save to a temporary directory (refer to it as <temp_dir>).
- Open a command window and change directory to <temp_dir>
- Depending on your platform, invoke one of the commands given below:
This will download and extract all the prerequisites to <temp_dir>/eclipse. In this case your <eclipse_home> will be <temp_dir>/eclipse/eclipse.Code Block ant win32 ant linux ant macos
Launch Eclipse by running <eclipse_home>/eclipse
Note |
---|
Once the ant script finishes, you can delete the contents of <temp_dir>/${LOCAL_M2_REPO}. You may also move the directory <temp_dir>/eclipse/eclipse to any directory of your choice. Otherwise your launch script for eclipse will be <temp_dir>/eclipse/eclipse/eclipse !! |
Installing Geronimo Eclipse Plugin
The Geronimo Eclipse Plugin (GEP) can be installed using the following options:
- Using WTP
- Using Eclipse Update Manager
- Manual Installation
Install GEP Using WTP
The GEP can be installed directly from within WTP while defining a server runtime. Follow the steps below to install GEP:
...
Install GEP Using Eclipse Update Manager
The GEP can also be installed via the Eclipse Update manager by creating a new remote site pointing to http://www.apache.org/dist/geronimo/eclipse/updates/. Follow the steps below to install GEP:
...
Note |
---|
Select other server adapters in the list as well if you intend to use versions of Geronimo other than v2.1. |
...
Manual Installation of GEP
Download the GEP 2.1 from http://www.apache.org/dist/geronimo/eclipse/. Close Eclipse if it is already running. Extract the archive to <eclipse_home>. Launch Eclipse by running <eclipse_home>/eclipse.See How to install Geronimo Eclipse Plugin v2.1.2
Geronimo Server Runtimes and Servers
...