cool stuff
/src_docs/getting_started/building_barracuda.html, v125

Compiling the Source

Barracuda is built using Ant 1.5.1+. The following are the basic steps required to build Barracuda 2.x.

  1. install your preferred JDK. Barracuda has been tested to compile under JDK 1.4, and JDK 1.5.
  2. download and install the latest release version of Ant
  3. Get the source for Barracuda and make sure the distribution is installed on your file system
  4. if you plan to run the JUnit tests, you need to do 2 additional things:
    1. copy the JUnit jar file located in Barracuda/WEB-INF/jars to ANT_HOME/lib
    2. copy the Log4j  jar file located in Barracuda/WEB-INF/lib-cvs to ANT_HOME/lib
    3. copy the Xalan jar file located in Barracuda/WEB-INF/jars to CATALINA_HOME/shared/lib

You are all set to start building Barracuda. The Barracuda distribution contains all required dependencies (other than stuff like JAXP and Xerces2 which already come with packages such as Ant and Tomcat).

To actually run the build, open a command console, cd to Barracuda/WEB-INF/bin, and type "ant" to run the default build target (currently the "install" target). Or, if you are a windows type, you can simply double click WEB-INF/bin/ant_0_install.bat. Running the install task simply copies all the jars from lib-cvs in to lib.

To view available targets and information about those targets, type "ant -projecthelp". Here's a brief list of common tasks:

 


Last Modified: 2006-01-02 15:59:13 -0500 (Mon, 02 Jan 2006)