]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
now uses only the local set class path
authorKeiron Liddle <keiron@apache.org>
Wed, 11 Jul 2001 06:54:34 +0000 (06:54 +0000)
committerKeiron Liddle <keiron@apache.org>
Wed, 11 Jul 2001 06:54:34 +0000 (06:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194344 13f79535-47bb-0310-9956-ffa450edef68

build.bat
build.sh

index 1d3a44512a42c93e95e3e0f8e216804202b8d023..c88f8c1b29a2ba101d7a96a42a8aea8744c6abe3 100755 (executable)
--- a/build.bat
+++ b/build.bat
@@ -9,11 +9,11 @@ set LIBDIR=lib
 set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\batik.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xerces-1.2.3.jar;%LIBDIR%\xalan-2.0.0.jar;%LIBDIR%\xalanj1compat.jar;%LIBDIR%\bsf.jar;%LIBDIR%\jimi-1.0.jar
 set ANT_HOME=%LIBDIR%
 
-echo Building with classpath %LOCALCLASSPATH%;%CLASSPATH%
+echo Building with classpath %LOCALCLASSPATH%
 
 echo Starting Ant...
 
-%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
+%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
 
 goto end
 
index 9d561f17e2f61585a60846e906697ecda47f4aac..d53de215cf7d98ed6fb1806c9da678d4927d87e3 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -17,15 +17,8 @@ LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.j
 ANT_HOME=$LIBDIR
 
 echo
-CP=$LOCALCLASSPATH
-if [ ! "$CLASSPATH" = "" ]
-then
-CP=$CP:$CLASSPATH
-fi
-echo Building with classpath $CP
-
-
+echo Building with classpath $LOCALCLASSPATH
 echo Starting Ant...
 echo
 
-$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$CP" org.apache.tools.ant.Main $*
+$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH" org.apache.tools.ant.Main $*