Builing and installing

Table of Contents

  1. Building from source
  2. Installing binary distribution
  1. Building from source

    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. Obtain the source for JGlobus:
      • 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/