From: Jeremias Maerki Date: Tue, 19 Nov 2002 13:42:55 +0000 (+0000) Subject: Adjust classpath X-Git-Tag: fop-0_20_5rc~47 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cf704aa554dd464c482353d8fe15a6339b9f0500;p=xmlgraphics-fop.git Adjust classpath Reduced the classpath in build.bat/sh to a minimum for easier maintenance. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195568 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.bat b/build.bat index 40f6435d9..e9c3d7c7b 100755 --- a/build.bat +++ b/build.bat @@ -7,16 +7,10 @@ if "%JAVA_HOME%" == "" goto error set LIBDIR=lib set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant-1.5.1.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.0.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant-1.5.1.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\bsf.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar set ANT_HOME=%LIBDIR% diff --git a/build.sh b/build.sh index db0649ec7..0e18a4244 100755 --- a/build.sh +++ b/build.sh @@ -31,14 +31,8 @@ LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/ant-1.5.1.jar LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xml-apis.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xercesImpl-2.2.0.jar +LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xercesImpl-2.2.1.jar LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xalan-2.4.1.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/batik.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/avalon-framework-cvs-20020806.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/bsf.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jai_core.jar -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jai_codec.jar # antRun must be executable (can't do this in build.xml because Ant uses antRun # to do the chmod) diff --git a/build.xml b/build.xml index c8cb6d85a..116a13bcd 100644 --- a/build.xml +++ b/build.xml @@ -136,15 +136,15 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - + - + - + @@ -172,7 +172,11 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - + + + + + @@ -295,10 +299,10 @@ Sometimes ant gives out this warnings, but the build is finished without any pro - - + + - + @@ -539,7 +543,9 @@ Sometimes ant gives out this warnings, but the build is finished without any pro debug="${debug}" deprecation="${deprecation}" optimize="${optimize}" - excludes="**/*${ignore_this},${jimi}"/> + excludes="**/*${ignore_this},${jimi}"> + + @@ -553,7 +559,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro diff --git a/fop.bat b/fop.bat index 3d0916ae9..3be05abed 100644 --- a/fop.bat +++ b/fop.bat @@ -1 +1,14 @@ -java -cp build\fop.jar;lib\batik.jar;lib\xalan-2.4.1.jar;lib\xercesImpl-2.2.0.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020806.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 \ No newline at end of file +@ECHO OFF + +set LIBDIR=lib +set LOCALCLASSPATH=build/fop.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\bsf.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar +java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 \ No newline at end of file