From 77c43938639ac9140f2defe7cc4db2c1f18e2725 Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Mon, 11 Aug 2003 13:18:19 +0000 Subject: Copy parser jars into the bootstrap and dist areas. Makes it easier to run Ant from the result of dist-lite git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275054 13f79535-47bb-0310-9956-ffa450edef68 --- build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 6f04697ac..142a49f72 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,7 @@ case "`uname`" in CYGWIN*) cygwin=true ;; Darwin*) darwin=true if [ -z "$JAVA_HOME" ] ; then - JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home + JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home fi ;; esac @@ -21,14 +21,14 @@ export ANT_HOME if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then /bin/sh ./bootstrap.sh -fi +fi if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then echo Bootstrap FAILED exit fi -LOCALCLASSPATH=lib/xercesImpl.jar:lib/xml-apis.jar +LOCALCLASSPATH= # add in the dependency .jar files DIRLIBS=lib/optional/*.jar for i in ${DIRLIBS} @@ -40,14 +40,14 @@ done # make sure the classpath is in unix format if $cygwin ; then - CLASSPATH=`cygpath --path --unix "$CLASSPATH"` + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` fi CLASSPATH=$LOCALCLASSPATH:$CLASSPATH # switch back to Windows format if $cygwin ; then - CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` fi export CLASSPATH @@ -62,5 +62,5 @@ else ANT_INSTALL="-emacs" fi -bootstrap/bin/ant -emacs "$ANT_INSTALL" $* +bootstrap/bin/ant "$ANT_INSTALL" $* -- cgit v1.2.1