Browse Source

Don't hardcode junit.jar - it is not included in the source distribution.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268773 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
731144880d
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      bootstrap.sh

+ 11
- 1
bootstrap.sh View File

@@ -41,7 +41,17 @@ if [ -d "bootstrap" ] ; then
rm -r bootstrap rm -r bootstrap
fi fi


CLASSPATH=lib/crimson.jar:lib/jaxp.jar:lib/optional/junit.jar:${CLASSPATH}
CLASSPATH=lib/crimson.jar:lib/jaxp.jar:${CLASSPATH}

DIRLIBS=lib/optional/*.jar
for i in ${DIRLIBS}
do
# if the directory is empty, then it will return the input string
# this is stupid, so case for it
if [ "$i" != "${DIRLIBS}" ] ; then
CLASSPATH=$CLASSPATH:"$i"
fi
done


TOOLS=src/main/org/apache/tools TOOLS=src/main/org/apache/tools
CLASSDIR=classes CLASSDIR=classes


Loading…
Cancel
Save