Hi, I am getting the following build error while trying to compile FOP. I haven't made any changes to the core code. It's the first time compiling. Regards, Ozhan ---- compile: [echo] Compiling the sources [javac] Compiling 439 source files to /home/test/FOP/source/fop- 0.20.4/build/classes [javac] Note: sun.tools.javac.Main has been deprecated. [javac] /home/test/FOP/source/fop- 0.20.4/build/src/org/apache/fop/svg/PDFGraphics2D.java:1199: nested class org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration is an abstract class. It can't be instantiated. [javac] return new PDFGraphicsConfiguration(); [javac] ^ [javac] /home/test/FOP/source/fop- 0.20.4/build/src/org/apache/fop/svg/PDFGraphics2D.java:1206: nested class org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration must be declared abstract. It does not define java.awt.image.VolatileImage createCompatibleVolatileImage(int, int) from class java.awt.GraphicsConfiguration. [javac] static class PDFGraphicsConfiguration extends GraphicsConfiguration { [javac] ^ [javac] 2 errors, 1 warning BUILD FAILED /home/test/FOP/source/fop-0.20.4/build.xml:579: Compile failed, messages should have been provided.
See the release notes for 0.20.4: http://xml.apache.org/fop/relnotes.html#FOP+0.20.4 > Building under JDK 1.4: You need to add a method in > src/org/apache/fop/svg/PDFGraphics2D.java (search > for jdk1.4 and remove the comments) This step is not necessary anymore with more recent version of FOP.
batch transition to closed remaining pre-FOP1.0 resolved bugs