#!/bin/sh
# build.sh -- the build-script for Mir
+# The path to ANT
+ANT_HOME=/usr/share/ant/lib # use own ant
+#ANT_HOME=LIB_HOME # use mir-ant
+
# Identify the custom class path components we need
-JAVA_HOME=/usr/lib/j2sdk1.3
+JAVA_HOME=/usr/lib/j2sdk1.3/
# Add all JAR files to CLASSPATH
LOCALCLASSPATH=`echo /usr/share/java/*.jar | tr ' ' ':'`
TOMCAT_HOME=/usr/share/tomcat
CP=$LIB_HOME/servlet.jar
-CP=$LIB_HOME/ant.jar:$LIB_HOME/xerces.jar
+CP=$CP:$ANT_HOME/ant.jar:$ANT_HOME/xerces.jar
CP=$CP:$LOCALCLASSPATH
CP=$CP:$TOMCAT_HOME/lib/tomcat.jar
CP=$CP:$LIB_HOME/gnu-regexp-1.0.8.jar