Incubator/Metrics: Building Code
From Globus
Building the Java components of the Metrics project
The Java components of the Metrics project include the usage receiver daemon and tools for generating the usage reports. To build all these Java components please follow these steps:
(If you already have a full Globus Toolkit installation from HEAD you can skip steps 2 to 5)
1. Set GLOBUS_LOCATION environment property to a directory where the Metrics project will be installed into, for example:
$ export GLOBUS_LOCATION=~/usage/install
2. Checkout the Java WS Core and Authorization Framework modules:
$ cvs -d:pserver:anonymous@cvs.globus.org:/home/globdev/CVS/globus-packages checkout wsrf authorization
3. Build the Java WS Core module by executing the following command in the wsrf directory.
$ ant deploy
4. Checkout Database module:
$ cvs -d:pserver:anonymous@cvs.globus.org:/home/globdev/CVS/globus-packages checkout database/java
5. Deploy the Database module by executing the following command in the database/java/common/source directory.
$ ant deploy
6. Checkout the Metrics module:
$ cvs -d:pserver:anonymous@cvs.globus.org:/home/globdev/CVS/globus-packages checkout usage/java
7. Build the Metrics module by executing the following command in the usage/java directory.
$ ant deploy
8. Update the PostgreSQL database JDBC driver: remove the pg73jdbc2.jar file from the $GLOBUS_LOCATION/lib directory and replace it with pg74.216.jdbc2.jar file.

