Bonsoir Guillaume, I'm not much of an expert on batik (vast understatement :-). I know there are some compatibility issues. I see that Keiron Liddle (who IS a batik expert) recently put a new version of batik.jar into the FOP lib directory. Maybe you should try using that instead of the standard batik 1.0 jar. You can get it at http://cvs.apache.org/viewcvs.cgi/xml-fop/lib/.
You said in a previous mail that you were not building with the fop jars but with the latest (CVS?) versions of the various fop dependencies. That's pretty much what Apache GUMP project is doing and its current build of FOP using latest versions of all dependencies is OK. You might want to look at http://jakarta.apache.org/builds/gump/latest/xml-fop.html for information. In short I guess I'd recommend either sticking to the jars supplied with the FOP distribution, or using the CVS version of Fop with your newer jars. Although I haven't tried compiling 0.20.2RC from the distribution, I don't have any trouble with the current CVS version of fop, using the jars in the xml-fop/lib directory. I can also build the CVS using the 2.2.D9 version of xalan.jar. Good luck, Karen Guillaume Rousse wrote: > > Ainsi parlait Karen Lease : > > I committed into CVS 26.8.2001. So it wasn't in 0.20.1 but it should > > certainly be in 0.20.2RC. > However, 0.20.2RC compilations fails with current batik 1.0 release: > [javac] > /home/guillaume/rpm/BUILD/Fop-0.20.2/build/src/org/apache/fop/svg/PDFANode.java:55: > paint(java.awt.Graphics2D,org.apache.batik.gvt.GraphicsNodeRenderContext) in > org.apache.batik.gvt.AbstractGraphicsNode cannot be applied to > (java.awt.Graphics2D) > [javac] super.paint(g2d); > I attempted to back port the patch to 0.20.1 by using the build.xml 1.42-1.43 > diff (matching given date), but that is is not enough, the third xslt process > still fails: > codegen: > [echo] Resetting codegen directory > [copy] Copying 35 files to > /home/guillaume/rpm/BUILD/Fop-0.20.1/build/src/codegen > [echo] Generating the java files from xml resources > [xslt] ============================ > [xslt] xslt > [xslt] in: ./build/src/codegen/svgelements.xml > [xslt] style: ./src/codegen/propmaker.xsl > [xslt] out: ./build/src/codegen/svgproperties.xml > [xslt] ============================ > [xslt] ============================ > [xslt] xslt > [xslt] in: ./build/src/codegen/allprops.xml > [xslt] style: ./build/src/codegen/genconst.xsl > [xslt] out: ./build/src/org/apache/fop/fo/properties/Constants.java > [xslt] ============================ > [xslt] org.apache.xml.utils.WrappedRuntimeException: > /home/guillaume/rpm/BUILD/Fop-0.20.1/foproperties.xml (Aucun fichier ou > r�pertoire de ce type) > [..] > [xslt] > file:/home/guillaume/rpm/BUILD/Fop-0.20.1/./build/src/codegen/genconst.xsl; > Line 9; Column -1; Can not load requested doc: > /home/guillaume/rpm/BUILD/Fop-0.20.1/foproperties.xml (Aucun fichier ou > r�pertoire de ce type) > > I also check other concerned files (foproperties.xml, properties.xsl), but i > didn't found any relevant commit. > > I think i'd better wait for batik 1.1 and fop 0.20.2 final release. > -- > Guillaume Rousse <[EMAIL PROTECTED]> > GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
