==================
SAGA shell INSTALL
==================

------------
Requirements
------------

The SAGA shell requires:
- Java >= 1.5 
- ant
- Java SAGA


-----------
Compilation
-----------

The SAGA shell is compiled automatically when Java SAGA is compiled.
To compile the SAGA shell separately, type ant' in the directory 'apps/shell':

  $ cd $JAVA_SAGA_LOCATION/apps/shell
  $ ant
  

---------
Execution
---------

Starting the SAGA shell is done with the 'saga-shell.sh' script:

  $ ./saga-shell.sh
  

-------------------
Configuring logging
s-------------------

The saga-shell.sh script configures the logging system with the property file 
'apps/shell/log4j.properties'. The logger 'log4j.logger.org.ogf.saga.apps.shell'
is used for all logging output of the SAGA shell. Uncommenting the line 

  #log4j.logger.org.ogf.saga.apps.shell=DEBUG
  
will make the SAGA shell very verbose and print the stacktraces of all thrown
SAGA exceptions.
