You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Geronimo Eclipse Plugin Build Instructions

Building From Source

Prerequisites:


Obtaining the Source Code:

Once the prerequisites are installed, invoke the following command from the command line to check out the source of trunk. The root of the source tree for the Elipse plugin is located in an svn repository at
http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk

svn co http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk trunk


Building:

Then, from within the geronimo-eclipse directory, simply invoke one of the following commands. This will run through the entire build process from compilation to generating the distributions.

mvn install 
mvn clean install

The following environment variable needs be set to properly configure the JVM to meet memory requirements.

MAVEN_OPTS="-Xms512m -Xmx512m -XX:MaxPermSize=256m"

On Windows use the following command to set the environment variable (note that double quotes should not be used):
set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m

You do not need to manually download Eclipse or the web tools project to build. This is taken care of for you automatically during the build process.


Disabling Tests:

To disable unit tests while building:

mvn install -Dtest=false

This is not recommended!!

  • No labels