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.


Not much to this part:
svn checkout esb-console --username < 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.

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)
        <name>ibiblio Mirror of</name>

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 -Dversion=1.0-SNAPSHOT -DgeneratePom=true -Dpackaging=jar -Dfile=lib/managementapi/
mvn install:install-file -DgroupId=caps-management -Dversion=1.0-SNAPSHOT -DgeneratePom=true -Dpackaging=jar -Dfile=lib/managementapi/
mvn install:install-file -DartifactId=gwt-dnd -Dversion=2.0.5 -DgeneratePom=true -Dpackaging=jar -Dfile=lib/gwt/gwt-dnd-2.0.5.jar
mvn install:install-file -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


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: 25

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