From 971a534b6f44b0a90c375e75d36e2dcd437dfdeb Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Tue, 5 Oct 2004 11:13:31 +0000 Subject: Mods to make scripts independent of any particular jars in lib. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@198014 13f79535-47bb-0310-9956-ffa450edef68 --- build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index e61bb3365..7628a752e 100755 --- a/build.sh +++ b/build.sh @@ -79,10 +79,9 @@ fi LIBDIR=lib LOCALCLASSPATH="$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip" -LOCALCLASSPATH="$LOCALCLASSPATH:$LIBDIR/ant.jar" -LOCALCLASSPATH="$LOCALCLASSPATH:$LIBDIR/xml-apis.jar" -LOCALCLASSPATH="$LOCALCLASSPATH:$LIBDIR/xercesImpl-2.2.1.jar" -LOCALCLASSPATH="$LOCALCLASSPATH:$LIBDIR/xalan-2.4.1.jar" +for jar in $LIBDIR/*.jar; do + LOCALCLASSPATH="$LOCALCLASSPATH:$jar" +done ANT_HOME="$LIBDIR" # antRun must be executable (can't do this in build.xml because Ant uses antRun -- cgit v1.2.3