Re: FOP build fails
I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. This *should* be fixed with Fop 0.20.4rc (I would be happy if you could test it) Yes it is. But acutal compilation fails with [javac] Compiling 717 source files to Z:\steppacher\Downloads\FOP\fop-0.20.4 rc-src.tar\fop-0.20.4rc\build\classes [javac] Note: sun.tools.javac.Main has been deprecated. [javac] Z:\steppacher\Downloads\FOP\fop-0.20.4rc-src.tar\fop-0.20.4rc\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 instan tiated. [javac] return new PDFGraphicsConfiguration(); [javac]^ [javac] Z:\steppacher\Downloads\FOP\fop-0.20.4rc-src.tar\fop-0.20.4rc\build\ src\org\apache\fop\svg\PDFGraphics2D.java:1206: nested class org.apache.fop.svg. PDFGraphics2D. PDFGraphicsConfiguration must be declared abstract. It does not d efine java.awt.image.VolatileImage createCompatibleVolatileImage(int, int) from class java.awt.GraphicsConfiguration. [javac] static class PDFGraphicsConfiguration extends GraphicsConfigurat ion { [javac] ^ [javac] 2 errors, 1 warning Thanks! Ralf
FOP build fails
Hi, I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. Z:\steppacher\Downloads\FOP\fop-0.20.3\build.xml:512: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: File file:///Z:/steppacher/Downloads/FOP/fop-0.20.3/Z:/steppacher/Downloads/FOP/fop-0.20.3/build/src/codegen/Hel vetica-Oblique.xml not found. The file uri is incorrect but I can not find where this broken path is generated in build.xml. Everytime I build again the error moves on to the next font and linenumbers where the error occurs in build.xml change. Ralf
Re: FOP build fails
Ralf Steppacher wrote: I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. Try to build using jdk 1.3.X. -- Oleg Tkachenko Multiconn International Ltd, Israel
Re: FOP build fails
Ralf Steppacher wrote: I get prepare-xalan1: [echo] Xalan1 is present. Installing Xalan1 support [copy] Copying 2 files to Z:\steppacher\Downloads\FOP\fop-0.20.3\build\src I put xalan 2 into the classpath before compiling. Is this something to worry about? I believe not, that's usual fop 0.20.3 build messages. -- Oleg Tkachenko Multiconn International Ltd, Israel
Re: FOP build fails
Ralf Steppacher wrote: I get prepare-xalan1: [echo] Xalan1 is present. Installing Xalan1 support [copy] Copying 2 files to Z:\steppacher\Downloads\FOP\fop-0.20.3\build\src I put xalan 2 into the classpath before compiling. Is this something to worry about? This happens if the Xalan1 compatibility library is found in the classpath. Just ignore it (you FOP jar will be a bit larger). J.Pietschmann
build fails
Hi, I'm currently trying to compile Fop-0.20.1-src.tar from xml.apache.org unter w2k/sun jdk1.4beta2, but it says the following: [javac] E:\download\Programming\Java API's\Fop-0.20.1-src.tar\Fop-0.20.1\bui ld\src\org\apache\fop\svg\PDFGraphics2D.java:959: nested class org.apache.fop.sv g.PDFGraphics2D. PDFGraphicsConfiguration is an abstract class. It can't be inst antiated. [javac] return new PDFGraphicsConfiguration(); [javac]^ [javac] E:\download\Programming\Java API's\Fop-0.20.1-src.tar\Fop-0.20.1\bui ld\src\org\apache\fop\svg\PDFGraphics2D.java:966: nested class org.apache.fop.sv g.PDFGraphics2D. PDFGraphicsConfiguration must be declared abstract. It does not define java.awt.image.VolatileImage createCompatibleVolatileImage(int, int) fro m class java.awt.GraphicsConfiguration and the build fails because of those two errors. I suppose that my ant configuration is ok, because the compilation of xalan and xerces worked fine, for me, it rather seems some mix-up in the sourcecode itself. I simply call build.bat and do not have any other xerces/xalan compilation in my CLASSPATH. Can anyone reproduce that error or give me a pointer into the right direction? Thanks! Sebastian ps. Just downloaded fop-0.20.2RC2 and tried to compile that, same problem, same location. Any suggestions? The binary distribution seems to work, but I still wonder why the compile crashes.