adding ant to lib, changes in build.sh
authoridfx <idfx>
Sun, 16 Sep 2001 13:34:10 +0000 (13:34 +0000)
committeridfx <idfx>
Sun, 16 Sep 2001 13:34:10 +0000 (13:34 +0000)
build.sh
lib/ant.jar [new file with mode: 0755]
lib/xerces.jar [new file with mode: 0755]

index b15c31e..d6f9fb8 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -4,17 +4,16 @@
 # Identify the custom class path components we need
 JAVA_HOME=/usr/lib/j2sdk1.3
 
-# Add all JAR files in /usr/share/ant/lib/ to CLASSPATH
+# Add all JAR files to CLASSPATH
 LOCALCLASSPATH=`echo /usr/share/java/*.jar | tr ' ' ':'`
 
 LIB_HOME=lib
 TOMCAT_HOME=/usr/share/tomcat
-ANT_HOME=/usr/share/ant
-
 
 CP=$LIB_HOME/servlet.jar
+CP=$LIB_HOME/ant.jar:$LIB_HOME/xerces.jar
 CP=$CP:$LOCALCLASSPATH
-CP=$CP:$LIB_HOME/xerxes.jar:$TOMCAT_HOME/lib/tomcat.jar
+CP=$CP:$TOMCAT_HOME/lib/tomcat.jar
 CP=$CP:$LIB_HOME/gnu-regexp-1.0.8.jar
 CP=$CP:$LIB_HOME/freemarker.jar:$LIB_HOME/freemarker-utility.jar
 CP=$CP:$LIB_HOME/mm.mysql
@@ -27,5 +26,5 @@ CP=$CP:$JAVA_HOME/lib/tools.jar
 CP=$CP:$JAVA_HOME/lib/rt.jar
 
 # Execute ANT to perform the requested build target
-/usr/lib/j2sdk1.3/bin/java -classpath $CP:$CLASSPATH org.apache.tools.ant.Main \
+$JAVA_HOME/bin/java -classpath $CP:$CLASSPATH org.apache.tools.ant.Main \
   -Dtomcat.home=$TOMCAT_HOME "$@"
diff --git a/lib/ant.jar b/lib/ant.jar
new file mode 100755 (executable)
index 0000000..229d48e
Binary files /dev/null and b/lib/ant.jar differ
diff --git a/lib/xerces.jar b/lib/xerces.jar
new file mode 100755 (executable)
index 0000000..4f6de65
Binary files /dev/null and b/lib/xerces.jar differ