Building and Installing

Java WS Core is built and installed as part of a default GT 4.1.3 installation. 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 WS Core.

1. Building from source

  1. Obtain the source code for Java WS Core:

    From CVS. 

    1. To get the latest source from cvs execute:

       cvs -d
                            :pserver:anonymous@cvs.globus.org:/home/globdev/CVS/globus-packages \ checkout
                            wsrf

    2. Change into the wsrf directory.

                            cd wsrf

    From Core-only source distribution. 

    1. Untar or unzip the distribution archive.

       tar xvfz
                            ws-core-XXX-src.tar.gz

    2. Change into the unpacked distribution directory.

       cd
                          ws-core-XXX

  2. Set the GLOBUS_LOCATION environment variable to the absolute path of the target directory of your installation. On Windows:

     set GLOBUS_LOCATION=c:\gt4

    On Unix/Linux:

     setenv GLOBUS_LOCATION /soft/gt4/

    or

     export GLOBUS_LOCATION=/soft/gt4/

    If GLOBUS_LOCATION is not set, an install directory will be created under the current directory.

  3. Run:

     ant all

    Additional arguments can be specified on the ant command line to customize the build:

    • -DwindowsOnly=false - generate launch scripts for standard Globus tools such as grid-proxy-init, etc. (Unix/Linux only)
    • -Dall.scripts=true - generate Windows and Unix launch scripts
    • -Denable.container.desc - create and configure the container with a global security descriptor

2. Installing Core-only binary distribution

  1. Untar or unzip the distribution archive.

     tar xvfz
                ws-core-XXX-bin.tar.gz

  2. Change into the unpacked distribution directory.

     cd ws-core-XXX

  3. Set the GLOBUS_LOCATION environment variable to the unpacked distribution directory. On Windows:

     set GLOBUS_LOCATION=c:\gt4

    On Unix/Linux:

     setenv GLOBUS_LOCATION /soft/gt4/

    or

     export GLOBUS_LOCATION=/soft/gt4/