From dbbff1776dde2e91ff212ed3445ab851a93fa809 Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Mon, 20 Aug 2001 21:11:02 +0000 Subject: [PATCH] Fixes script classpaths to use avalon and logkit. Fixes last xml-doc bug that prevented generating the PDF. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194435 13f79535-47bb-0310-9956-ffa450edef68 --- docs/xml-docs/fop/extensions.xml | 2 ++ docs/xml-docs/makedoc.bat | 2 +- docs/xml-docs/makedoc.sh | 2 +- fop.bat | 2 +- fop.sh | 4 +++- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/xml-docs/fop/extensions.xml b/docs/xml-docs/fop/extensions.xml index ce8ca2672..f77f75f87 100644 --- a/docs/xml-docs/fop/extensions.xml +++ b/docs/xml-docs/fop/extensions.xml @@ -12,7 +12,9 @@ and you only need to provide the correct namespace for your embedded xml markup.

+

Please see the SVG page for more details. +

To use this standard Fop extension, you need to add a namespace entry for diff --git a/docs/xml-docs/makedoc.bat b/docs/xml-docs/makedoc.bat index daefa79c5..ec7356f82 100755 --- a/docs/xml-docs/makedoc.bat +++ b/docs/xml-docs/makedoc.bat @@ -8,7 +8,7 @@ echo ---------------- if "%JAVA_HOME%" == "" goto error 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-1.2.2.jar;%LIBDIR%\bsf.jar;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\stylebook.jar;%LIBDIR%\..\build\fop.jar +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-1.2.2.jar;%LIBDIR%\bsf.jar;%LIBDIR%\avalon-framework-4.0.jar;%LIBDIR%\logkit-1.0b4.jar;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\stylebook.jar;%LIBDIR%\..\build\fop.jar set ANT_HOME=%LIBDIR% diff --git a/docs/xml-docs/makedoc.sh b/docs/xml-docs/makedoc.sh index 0a805e34f..72d5459f7 100755 --- a/docs/xml-docs/makedoc.sh +++ b/docs/xml-docs/makedoc.sh @@ -16,7 +16,7 @@ if [ "$JAVA_HOME" = "" ] ; then fi LIBDIR=../../lib -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-1.2.2.jar:$LIBDIR/bsf.jar:$LIBDIR/jimi-1.0.jar:$LIBDIR/stylebook.jar:$LIBDIR/../build/fop.jar +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-1.2.2.jar:$LIBDIR/bsf.jar:$LIBDIR/avalon-framework-4.0.jar:$LIBDIR/logkit-1.0b4.jar:$LIBDIR/jimi-1.0.jar:$LIBDIR/stylebook.jar:$LIBDIR/../build/fop.jar ANT_HOME=$LIBDIR echo Building with classpath $LOCALCLASSPATH:$CLASSPATH diff --git a/fop.bat b/fop.bat index 020edc7e7..6ead325ca 100644 --- a/fop.bat +++ b/fop.bat @@ -1 +1 @@ -java -cp build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 +java -cp build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\avalon-framework-4.0.jar;lib\logkit-1.0b4.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 diff --git a/fop.sh b/fop.sh index a80e5d698..0e8999b44 100755 --- a/fop.sh +++ b/fop.sh @@ -1,3 +1,5 @@ #!/bin/sh -java -cp build/fop.jar:lib/batik.jar:lib/xalan-2.0.0.jar:lib/xerces-1.2.3.jar:lib/jimi-1.0.jar org.apache.fop.apps.Fop "$@" +LIBDIR=./lib +LOCALCLASSPATH=$LIBDIR/../build/fop.jar:$LIBDIR/batik.jar:$LIBDIR/xalan-2.0.0.jar:$LIBDIR/xerces-1.2.3.jar:$LIBDIR/avalon-framework-4.0.jar:$LIBDIR/logkit-1.0b4.jar:$LIBDIR/jimi-1.0.jar +java -cp $CLASSPATH:$LOCALCLASSPATH org.apache.fop.apps.Fop "$@" -- 2.39.5