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.
To validate that Java and Ant are installed correctly, run the following commands.
|Result of running java -version|
To validate that Globus was installed correctly, start up the Globus container.
|Result of starting globus|
Before any caGrid tools can be used, the software must be built. To (re-)build caGrid at any time, type these commands:
You can run the testing suite of caGrid from your local caGrid directory.
To run the test suite, type:
NOTE: Some of the tests require an installed MySQL database that is accessible via local JDBC.
To see all the documented ant targets available, type the following from your caGrid directory: