]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fixed classpath for batik jar
authorKeiron Liddle <keiron@apache.org>
Fri, 18 May 2001 09:56:05 +0000 (09:56 +0000)
committerKeiron Liddle <keiron@apache.org>
Fri, 18 May 2001 09:56:05 +0000 (09:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194255 13f79535-47bb-0310-9956-ffa450edef68

16 files changed:
build.bat
build.xml
docs/bugtests/runtests.bat
docs/bugtests/runtests.sh
docs/examples/advanced/cid-fonts.fo
docs/examples/runtests.bat
docs/examples/runtests.sh
docs/examples/svg/makedoc.bat
docs/xml-docs/fop/compiling.xml
docs/xml-docs/fop/fonts.xml
docs/xml-docs/fop/running.xml
docs/xml-docs/makedoc.bat
docs/xml-docs/makedoc.sh
fop.bat
lib/readme
test/createpdf.sh

index 2a818cec4a9fb17ae209247a407d1f69d4756872..1d3a44512a42c93e95e3e0f8e216804202b8d023 100755 (executable)
--- a/build.bat
+++ b/build.bat
@@ -6,10 +6,10 @@ 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%\w3c.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 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%
+echo Building with classpath %LOCALCLASSPATH%;%CLASSPATH%
 
 echo Starting Ant...
 
index 3a8b57b1bf0ecc7b508cddad20c2b8984e149751..e7ae15fa4d5a276c00aa2a2b1abde48ce69e668c 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -132,7 +132,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
        <include name="lib/xerces-1.2.3.jar"/>
        <include name="lib/xalan-2.0.0.jar"/>
        <include name="lib/xalanj1compat.jar"/>
-       <include name="lib/w3c.jar"/>
+       <include name="lib/batik.jar"/>
        <include name="lib/jimi*"/>
     </fileset>
 
@@ -275,7 +275,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
     <taskdef name="runTest" classname="org.apache.fop.tools.anttasks.RunTest"/>
 
     <property name="main.class" value="org.apache.fop.apps.Fop"/>
-    <property name="runtime.classpath" value="lib/xerces-1.2.3.jar lib/xalan-2.0.0.jar lib/xalanj1compat.jar lib/w3c.jar lib/jimi-1.0.jar"/>
+    <property name="runtime.classpath" value="lib/xerces-1.2.3.jar lib/xalan-2.0.0.jar lib/xalanj1compat.jar lib/batik.jar lib/jimi-1.0.jar"/>
    
     <filter filtersfile="${build.src}/codegen/filter"/>
 
index 8fe5ea89dbc2fe1e782cf832c6461c9d9d60089c..4fdde329890af54bf0fd697b880755bee51768dc 100755 (executable)
@@ -6,7 +6,7 @@ echo ----------------
 if "%JAVA_HOME%" == "" goto error
 
 
-set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;..\..\lib\ant.jar;..\..\lib\buildtools.jar;..\..\lib\w3c.jar;..\..\build\fop.jar
+set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;..\..\lib\ant.jar;..\..\lib\buildtools.jar;..\..\lib\batik.jar;..\..\build\fop.jar
 set ANT_HOME=..\..\lib
 
 echo Starting Tests ...
index 98f812039e8250140f399a5ca3e6fcb33d87c175..b7c4627263c8fb5667b1c16465099cce58bd414a 100755 (executable)
@@ -14,7 +14,7 @@ if [ "$JAVA_HOME" = "" ] ; then
 fi
 
 LIBDIR=../../lib/
-LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/w3c.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
+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
 ANT_HOME=$LIBDIR
 
 echo Building with classpath $CLASSPATH:$LOCALCLASSPATH
index ad123d37e43eb9a3fcbef83f95a3815f66183f70..bc42d6e68a0c19c0dffee89e9fc7eee18f0c8184 100644 (file)
      <fo:block font-family="Courier" font-size="10pt" 
       space-before.optimum="6pt"
       white-space-collapse="false" margin-left="6pt" text-align="start">
-C:\Fop-0.18.1> set CLASSPATH=fop.jar;lib\xerces-1.2.3.jar;lib\xalan-2.0.0.jar;lib\w3c.jar
+C:\Fop-0.18.1> set CLASSPATH=fop.jar;lib\xerces-1.2.3.jar;lib\xalan-2.0.0.jar;lib\batik.jar
      </fo:block>
 
 
index 089c0b454ba914d92811eb516555d7ce50cd6874..974ba4eaddaa643f8caedaa8e285baaa1967f2ac 100755 (executable)
@@ -7,7 +7,7 @@ if "%JAVA_HOME%" == "" goto error
 
 
 set LIBDIR=..\..\lib
-set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\w3c.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;%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-2.0.0.jar;%LIBDIR%\xalanj1compat.jar;%LIBDIR%\bsf.jar;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\..\build\fop.jar
 set ANT_HOME=%LIBDIR%
 
 echo Starting Tests ...
index 415fadcdf8d917f2274fd6adb5ffdb2494eff45b..c8d75f3c3e28b7f30bb8d9cb30fe5126c52c0741 100755 (executable)
@@ -13,7 +13,7 @@ if [ "$JAVA_HOME" = "" ] ; then
   exit 1
 fi
 LIBDIR=../../lib
-LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/w3c.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:$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-2.0.0.jar:$LIBDIR/xalanj1compat.jar:$LIBDIR/bsf.jar:$LIBDIR/jimi-1.0.jar:$LIBDIR/../build/fop.jar
 ANT_HOME=$LIBDIR
 
 echo Building with classpath $CLASSPATH:$LOCALCLASSPATH
index d00c09af78d7619e6fbefdd5742ab732ba1c3378..b39bbd45d8ad073087bf2c661398befc4936b6ce 100755 (executable)
@@ -6,7 +6,7 @@ echo ----------------
 if "%JAVA_HOME%" == "" goto error
 set LIBDIR=..\..\..\lib
 set LIBDIR=lib
-set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\w3c.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;%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-2.0.0.jar;%LIBDIR%\xalanj1compat.jar;%LIBDIR%\bsf.jar;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\..\build\fop.jar
 set ANT_HOME=%LIBDIR%
 
 
index 748b0b7a2ee4fec7e56af796392ec429b197c6de..faeddb774af1b51259468de9b194464cd5a26c3f 100644 (file)
@@ -27,7 +27,7 @@
     <p>If you have problems compiling Fop, please try this first: </p>
     <ul>
       <li>delete the build directory completely and try a new build from scratch</li>
-      <li>check, whether you have an older version of xerces.jar, xalan.jar, w3c.jar somewhere in 
+      <li>check, whether you have an older version of xerces.jar, xalan.jar, batik.jar somewhere in 
           you classpath.</li>
       </ul>
       <p>If you still have problems, please look at the
index 8294808f59c369f4b81e31cb5dc325212d6f2722..2e8832e6589303ed316b78fc70ec07b81b4ccf31 100644 (file)
@@ -18,7 +18,7 @@
                        <p>     Run the class org.apache.fop.fonts.apps.PFMReader to generate the XML file.
                        </p>
                        <p>
-                               <code>java -cp fop.jar;xerces.jar;xalan.jar;w3c.jar</code>
+                               <code>java -cp fop.jar;xerces.jar;xalan.jar;batik.jar</code>
                        </p>
                        <p>
                                <code>org.apache.fop.fonts.apps.PFMReader pfm-file xml-file</code>
index 2a57b70bb27ae1cc38d6381233cd5eb3c036a151..d0f5890a84081be3eb9585e02119829496f53bbf 100644 (file)
@@ -17,7 +17,7 @@
             </li>
             <li>An XSLT processor 
             </li>
-            <li>The SVG library w3c.jar corresponding to the SVG Candidate Recommendation (02 November 2000).
+            <li>The SVG library batik.jar is the library from the batik project at xml.apache.org.
             </li>
             <li>The imaging library Jimi from Sun
             </li>
index 7ce915ceb662e520fa858896782118f7496ebf31..daefa79c5a18981eea5654e3bd7cc909f6ade34f 100755 (executable)
@@ -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%\w3c.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%\jimi-1.0.jar;%LIBDIR%\stylebook.jar;%LIBDIR%\..\build\fop.jar
 set ANT_HOME=%LIBDIR%
 
 
index 195af968170d5c5dcfd65753fea786b6397a30c6..0a805e34f2e664dfde16606a4bb1618ace05b2f9 100755 (executable)
@@ -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/w3c.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/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 71fafbd4aa92041e868f09f3569a87770e951873..6ff95b5ec3bd6a3ab384946ed6e426a8d4f4fad4 100644 (file)
--- a/fop.bat
+++ b/fop.bat
@@ -1 +1 @@
-java -cp fop.jar;lib\w3c.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 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
index 6b059a267d07578110939f35c2fe87ddbc9aee04..a0508c6037ca1888659c0631c08509f9ea6687f0 100644 (file)
@@ -4,7 +4,7 @@ for compiling, running or testing Fop.
 ant.jar         Ant is the scripting tool which is used to build Fop or to run 
                 the test scripts. see build.xml in root for more information
 
-w3c.jar         the svg library from the w3 consortium
+batik.jar       the svg library from Batik at xml.apache.org
 
 
 buildtools.jar  Ant tasks required for building FOP. Rebuild with 
@@ -13,4 +13,4 @@ buildtools.jar  Ant tasks required for building FOP. Rebuild with
                buildtools.jar, make sure you have both Xalan 1 and
                Xalan 2 in the classpath when building it.)
 
-stylebook.jar  Jar used for creating the FOP website
\ No newline at end of file
+stylebook.jar  Jar used for creating the FOP website
index c88ec7970df06ba1ac20aafb901ef5ce907e7d6c..eb33d1100b0967f3e1c5d2487dbba59c2f92a761 100755 (executable)
@@ -1,3 +1,3 @@
 # this can be used to create pdf output of the testsuite files
 
-$JAVA_HOME/bin/java -cp ../build/fop.jar:../lib/w3c.jar:../lib/xalan-2.0.0.jar:../lib/xerces-1.2.3.jar:../lib/jimi-1.0.jar org.apache.fop.tools.TestConverter -pdf -b ./ basictests.xml
+$JAVA_HOME/bin/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.tools.TestConverter -pdf -b ./ basictests.xml