Building and installing

Java CoG Kit is distributed as part of a default GT 4.1.3 installation. For basic installation instructions, see the Installing GT 4.1.3. No extra installation steps are required for this component.

The following are optional instructions for more advanced types of installations. These are for those advanced users who want to build the latest code from CVS or are just interested in the Java CoG Kit.

1. Building from source

1.

Obtain the source code for Java CoG Kit:

From CVS. 

  1. To get the latest source from CVS execute:

     cvs -d :pserver:anonymous@cvs.globus.org:/home/dsl/cog/CVS \
         checkout jglobus

  2. Change into the jglobus directory.

     cd jglobus

From source distribution. 

  1. Untar or unzip the distribution archive.

     tar xvfz cog-XXX-src.tar.gz

  2. Change into the unpacked distribution directory.

     cd cog-XXX

2.

Run:

 ant all

2. Installing binary distribution

1.Untar or unzip the distribution archive.
 tar xvfz cog-XXX-tar.gz
2.Change into the unpacked distribution directory.
 cd cog-XXX
3.Set the COG_INSTALL_PATH environment variable to the unpacked distribution directory.

On Windows:

 set COG_INSTALL_PATH=c:\cog-1.2

On Unix/Linux:

 setenv COG_INSTALL_PATH /soft/cog-1.2/

or

 export COG_INSTALL_PATH=/soft/cog-1.2/