Index Changes
ESB Console Home

What's on this Page?

Instructions on how to checkout and build ESB Console in a new environment.

Tools Required

You only need two tools to check out and build ESB Console, and you probably already have them in your environment:
  • Subversion: we have a Subversion repository here at Project ESB Console. So find 'svn' in your path or download one of the many Subversion clients out there.
  • Maven: we use Maven 2.0.5 and up in our environment. If you have an older version in your environment, it might work. You can download Maven here.

Checkout

Not much to this part:
svn checkout https://esb-console.dev.java.net/svn/esb-console/trunk esb-console --username <java.net id>

Set your Glassfish Home Directory

Check the console POM file and make sure to point the glassfish.home variable to your GlassFish home directory.
    <properties>
        <gwtVersion>1.5.2</gwtVersion>
        <debugPort>8000</debugPort>
        <glassfish.home>C:/JavaCAPS6/appserver</glassfish.home>
    </properties>

Adding Mirrors

Add the following mirror in your settings.xml. (On Windows machines, you can find this file under C:\Documents and Settings\user directroy\.m2 or else if you open this project in the Netbeans IDE, it will grab this file and display it under your Project Files)
     <mirror>
        <id>ibiblio.org</id>
        <name>ibiblio Mirror of http://repo1.maven.org/maven2/</name>
        <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
        <mirrorOf>central</mirrorOf>
      </mirror>

Register required JARS in Local Maven Repository

Goto the console module and from the command line and execute InstallAdditionalLibs.bat. This will install all the additional libraries required for building the project into your local Maven repository.

cd esb-console
cd console
mvn install:install-file -DgroupId=caps-management -DartifactId=caps.adapters.management -Dversion=1.0-SNAPSHOT -DgeneratePom=true -Dpackaging=jar -Dfile=lib/managementapi/caps.adapters.management.jar
mvn install:install-file -DgroupId=caps-management -DartifactId=caps.management.client -Dversion=1.0-SNAPSHOT -DgeneratePom=true -Dpackaging=jar -Dfile=lib/managementapi/caps.management.client.jar
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dnd -Dversion=2.0.5 -DgeneratePom=true -Dpackaging=jar -Dfile=lib/gwt/gwt-dnd-2.0.5.jar
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-chart -Dversion=2.3 -DgeneratePom=true -Dpackaging=jar -Dfile=lib/gwt/gchart.jar
mvn install:install-file -DgroupId=xmlbeans -DartifactId=xbean -Dversion=2.4.0-r670094 -DgeneratePom=true -Dpackaging=jar -Dfile=lib/xbean/xbean.jar
mvn install:install-file -DgroupId=wsdl4j -DartifactId=wsdl4j -Dversion=1.6 -DgeneratePom=true -Dpackaging=jar -Dfile=lib/wsdl4j/wsdl4j.jar
mvn install:install-file -DgroupId=common_fileupload -DartifactId=common_fileupload -Dversion=1.2.1 -DgeneratePom=true -Dpackaging=jar -Dfile=lib/apache/commons/commons-fileupload-1.2.1.jar
mvn install:install-file -DgroupId=commons_io -DartifactId=commons_io -Dversion=1.4 -DgeneratePom=true -Dpackaging=jar -Dfile=lib/apache/commons/commons-io-1.4.jar

Build

Now this part is hard, so take it slow:
mvn clean install

After you run the above, you will see a bunch of build and test output spit out on the screen. If you built successfully, give yourself a high-five (it's surprisingly easy to do). If it failed, send us a nasty gram.

NOTE: if you are sitting behind a proxy server, you may have to configure maven so that it communicates through your proxy. Instructions on how to do that can be found on the Maven site. From personal experience behind a proxy, I have not had to do this, but some users have reported that it was required in their environment.

We are committed to an easy checkout and build process, so please let us know if you had a negative experience. If you want to learn more about the design behind our build environment (yes, there is one), we have a page for that too.
Back to ESBConsoleGettingStarted


Number of visits: 33

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-17) was last changed on 10-Jun-09 08:11 AM, -0700 by Gopalan Suresh Raj