From ant-dev-return-11149-apmail-jakarta-ant-dev-archive=jakarta.apache.org@jakarta.apache.org Thu Mar 08 11:11:44 2001 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 51425 invoked by uid 500); 8 Mar 2001 11:11:40 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 51411 invoked by uid 500); 8 Mar 2001 11:11:37 -0000 Delivered-To: apmail-jakarta-ant-cvs@apache.org Date: 8 Mar 2001 11:11:37 -0000 Message-ID: <20010308111137.51407.qmail@apache.org> From: bodewig@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant bootstrap.sh bodewig 01/03/08 03:11:36 Modified: . bootstrap.sh Log: Don't hardcode junit.jar - it is not included in the source distribution. Revision Changes Path 1.46 +11 -1 jakarta-ant/bootstrap.sh Index: bootstrap.sh =================================================================== RCS file: /home/cvs/jakarta-ant/bootstrap.sh,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- bootstrap.sh 2001/03/04 13:35:47 1.45 +++ bootstrap.sh 2001/03/08 11:11:36 1.46 @@ -41,7 +41,17 @@ rm -r bootstrap 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 CLASSDIR=classes --------------------------------------------------------------------- To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: ant-dev-help@jakarta.apache.org