Home > Documentation > Developer's guide > Apache Geronimo Development Tools Project > How to Build Geronimo Eclipse Plugin from Source |
To build the Geronimo Eclipse Plugin (GEP) from source you need to have the following prerequisites installed.
Useful Information
You can also change the default location of m2repo by modifying <MAVEN_HOME>/conf/settings.xml and modify the following tag
<localRepository>C:\m2repo</localRepository>
Useful Information
It is strongly recommended that you use a small directory name for the source code download. At times there have been issues due to long path.
svn co http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk trunk
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
mvn clean install -Ptestsuite
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. You can find the downloads at
<Local_M2_Repo>\eclipse-downloads
mvn clean -Dmaven.test.skip=true -Dmaven.itest.skip=true install
Skipping tests is not recommended
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2011, The Apache Software Foundation, Licensed under ASL 2.0. |