I'm trying to compile fop-0.20.4rc, but I'm getting an error when the compiler get to PDFGraphics2D.java. I'm using j2sdk1.4.0_01. there is no other jars ( xerces, batik, etc..) appearing in my classpath, I'm just using the jars that come with the distribution. here are my traces. can you give me a hint ? thank you. ------------------------------------------------------------------------ D:\fop-0.20.4rc>build Fop Build System ---------------- Building with classpath D:\j2sdk1.4.0_01\lib\tools.jar;D:\j2sdk1.4.0_01 \lib\classes.zip;lib\ant-1.4.1.jar;lib\batik.jar;lib\buildtools.jar;lib\xercesI mpl-2.0.1.jar;lib\xml-apis.jar;lib\xalan-2.3.1.jar;lib\bsf.jar;lib\jimi- 1.0.jar;lib\avalon-framework-cvs-20020315.jar Starting Ant... Buildfile: build.xml init-avail: init-filters-xalan2: init: [echo] ------------------- Fop 0.20.4rc [1999-2002] ---------------- prepare: [echo] Preparing the build directories codegen: [echo] Resetting codegen directory [echo] Generating the java files from xml resources prepare-jimi: [echo] Jimi library is present. Fop installs jimi support. prepare-jai: prepare-trax: [echo] JAXP1.1 transforms is present. Installing TRaX support prepare-src: compile: [echo] Compiling the sources [javac] Compiling 311 source files to D:\fop-0.20.4rc\build\classes [javac] Note: sun.tools.javac.Main has been deprecated. [javac] D:\fop- 0.20.4rc\build\src\org\apache\fop\svg\PDFGraphics2D.java:1199: nested class org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfigurat ion is an abstract class. It can't be instantiated. [javac] return new PDFGraphicsConfiguration(); [javac] ^ [javac] D:\fop- 0.20.4rc\build\src\org\apache\fop\svg\PDFGraphics2D.java:1206: nested class org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfigurat ion must be declared abstract. It does not define java.awt.image.VolatileImage createCompatibleVolatileImage(int, int) from class java.awt.GraphicsCon figuration. [javac] static class PDFGraphicsConfiguration extends GraphicsConfiguration { [javac] ^ [javac] 2 errors, 1 warning BUILD FAILED D:\fop-0.20.4rc\build.xml:578: Compile failed, messages should have been provided. Total time: 16 seconds D:\fop-0.20.4rc>
There are instructions for how to build FOP with JDK 1.4 in the docs in the distribution.
batch transition to closed remaining pre-FOP1.0 resolved bugs