#!/bin/sh
# build -- Build Script for the "Hello, World" Application

TOMCAT_HOME=/var/local/httpd/tomcat

# Optional 
JAVA_HOME=/var/local/java1.3

# below here should not need customization


PATH=$JAVA_HOME/bin:$PATH

# servlet 
CP=$CP:$TOMCAT_HOME/lib/common/servlet.jar

CLASSPATH=${CP}:${CLASSPATH}

export PATH BUILD_HOME JAVA_HOME CLASSPATH


# Execute ANT to perform the requested build target
ant -Dtomcat.home=$TOMCAT_HOME "$@"

