Jade Sitetree

Jade Sitetree
Documentation
Jade Projects

Building The Project

Jade Sitetree is packaged will all source code required to build the jar file. Here is how to go about it:

  1. Unzip the src.jar file in a directory of your choice. Jade Sitetree is written for Java version 1.4 and greater.
  2. Modify the user.properties file to point to your JDK. The tomcat.home property can be set now also if you wish to run tomcat within the development environment (see below).
  3. Create a subdirectory called ~/lib and put the following jar files in it:
  4. Ensure that the javax.servlet.* packages are accessable somehow. The ant scripts reference a servlet.jar file in the ~/lib directory. The preferred method is to supply this (you can download it from various locations on java.sun.com). These classes are required to compile the references within RootServlet. If you have tomcat version 4.1.x installed you should have a ~tomcat/lib/common/servlet.jar that will work.
  5. Run Ant with the target compile to compile the package. You will need Ant version 1.6.1 or compatible. to compile Jade Sitetree.
  6. If you want to run the example from within the development envionment you will have to use Tomcat version 4.1.x. The build files do not support anything else. Ensure that the tomcat.home property in the user.properties file is set correctly. The build file automatically copies 2 files into the ~tomcat/conf directory: server-dev.xml and apps-dev.xml. In order for the automatic deployment and startup to work tomcat must be configured to read these (this is the out-of-the-box configuration).
    With this preparation the example can be run using the run.tomcat target.
  7. Many other targets are available from the build scripts. Running ant without a target will generate a list.
That's it! You should be up and running. If you have any problems please contact us.


Supported by SourceForge.net Logo