Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Apache Maven
  • Subversion
  • Sun JDK 5.0+ downloads or Sun JDK 6.0+ downloads
  • Add the bin directories of maven and subversion to system variable Path.
    Info
    titleUseful 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>

    Table of Contents

    Getting the source code

  1. Create a directory gep in the root location.
    Info
    titleUseful 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.

  2. Open a command prompt and change gep directory created before. Run the following command to start downloading the source.
    Code Block
    
    svn co http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk trunk
    
    Image Added


  3. Maven will start downloading the source and the command window will show the progress information.


    Image Added


  4. On successful download you can see the revision number for the downloaded source.


    Image Added


Building Source

  1. Modify heap settings for JVM as follows.
    Note

    he 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

  2. Change to the trunk directory of the source you have downloaded and run the following command
    Code Block
    
    mvn clean install
    
    Image Added


  3. Once done various dependencies will be downloaded to your m2 repository. If you are building GEP for the first time it may take considerable time.
    Image Added


  4. On the success of build you can see a Build Successful message on the command prompt.


    Image Added


    Info

    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