middleware:JavaGAT/20

From Dgiref
Jump to: navigation, search
Please open a NGI-DE ticket if you experience any Installation or Configuration problem.

Contents

JavaGAT v.2.0

Prepare

  • Java >= 1.6 (with Java 1.5 not all sensors are working)
  • ant = 1.7
Note-icon.png
  
JAVA_HOME environment variable should point into the current Java 1.6 instance.

Install

  • Download the source package
  • Unzip into the /opt directory
  • Setup GAT_LOCATION environment variable
Note-icon.png
  
To install only the GAT engine or the adaptors, build them separately.
  • before starting the build, please ensure that the environment variable $GAT LOCATION points to the parent directory of GAT.
  • to build the engine, change to the directory $GAT LOCATION/engine, and enter ant
  • to build the adaptors, change to the $GAT LOCATION/adaptors, and enter ant.

Configure

  • Run ant command into the $GAT_LOCATION directory
  • to build the Command Line Interfaces (CLI) GATJobRun and GATFileOps, additional steps are required:
    • download the GATJobRun and GATFileOps packages
    • run ant -f build-standalone.xml into the appropriate directory

Proceed

  • the entry point to GATJobRun is the script gat-job-run which is located in the directory $GAT_LOCATION/astrogrid-packages/GATJobRun/scripts.
  • the entry point to GATFileOps is the script gat-file-operation which is located in the directory $GAT_LOCATION/astrogrid-packages/GATFileOps/scripts.
Note-icon.png
  
It is recommended to add this directory to the PATH environment variable, to enable an easy usage from everywhere directory in your system.


Personal tools