---------------------------------------------------
Building SSHTools Using ANT
---------------------------------------------------

The SSHTools source distributions relies on ANT as its build tool. ANT is available from "http://jakarta.apache.org/ant/". 

ANT requires a build file called build.xml. The SSHTools build.xml has been developed
to be modular and will attempt to compile and build SSHTools subprojects ONLY if the relevant 
source package is accessible within the source tree. (This is achieved through our own ConditionalTask ant task)

Using a command prompt, change to your $INSTALL_DIR and issue the following command:

> ant

This should execute the ANT script build.xml and you should see the log output begin to firstly compile the source, and then building the $INSTALL_DIR/dist/lib/sshtools-j2ssh-VERSION.jar.


The following targets are useful

compile -  Compiles all the source

build   -  Builds all jar files possible from the source tree


----------------------------------------------------
Building SSHTools without ANT
----------------------------------------------------

If you decide you do not want to build using the ANT build tool and would rather
compile the source in your own development environment, simply add all the 
dependencies found in $INSTALL_DIR/lib to your classpath, and remove the $INSTALL_DIR/src/com/sshtools/ant
directory, as this has a dependency on the ANT tool which is not shipped as part of the distribution.

You can then compile and build the source in any way you feel benefits your project.