Added two lines for the ant path config and corrected a supposed mistake
authormj <mj>
Fri, 21 Sep 2001 00:05:46 +0000 (00:05 +0000)
committermj <mj>
Fri, 21 Sep 2001 00:05:46 +0000 (00:05 +0000)
concerning the CP environment variable.

build.sh-dist

index d6f9fb8..99b03bb 100755 (executable)
@@ -1,8 +1,12 @@
 #!/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 ' ' ':'`
@@ -11,7 +15,7 @@ LIB_HOME=lib
 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