Access Keys:
Skip to content (Access Key - 0)

How to Build caGrid 1.3


Install Prerequisite Software and Obtain a caGrid Release

Set Up Environment

Set the following environment variables:

  • JAVA_HOME (pointing to the root directory of the java installation)
  • ANT_HOME (pointing to the root directory of the ant installation)
  • GLOBUS_LOCATION (pointing to the root directory of the Globus installation)
  • CAGRID_LOCATION (pointing to the root directory of the caGrid installation : this is optional and not used by the build, but these instructions use it for simplicity)

Add ANT_HOME/bin and JAVA_HOME/bin to your environments PATH variable

Microsoft has a help page describing how to set environment variables under Windows XP.

Validate Prerequisite Software

To validate that Java and Ant are installed correctly, run the following commands.

%> java -version
%> ant -version

Result of running java -version

To validate that Globus was installed correctly, start up the Globus container.

%> cd %GLOBUS_LOCATION%\bin
%> globus-start-container -nosec

Result of starting globus

Build caGrid

Before any caGrid tools can be used, the software must be built. To (re-)build caGrid at any time, type these commands:

%> cd %CAGRID_LOCATION%
%> ant all

Test caGrid

You can run the testing suite of caGrid from your local caGrid directory.

To run the test suite, type:

ant test

NOTE: Some of the tests require an installed MySQL database that is accessible via local JDBC.

Other Commands

To see all the documented ant targets available, type the following from your caGrid directory:

ant -p

Last edited by
David Ervin (1520 days ago) , ...
Adaptavist Theme Builder Powered by Atlassian Confluence