With FOP 0.95 there is no problem (committed that change already in 2.1.12-dev). With FOP 1.0 and Batik 1.7 the samples in the Batik block fail if you use the SvgSerializer (nasty NPE).
Jasha On 26 August 2010 11:58, Laurent Medioni <lmedi...@odyssey-group.com> wrote: > Hi, > What is your issue as we have this setup running (but in 2.1.11 with > backported FOPNGSerlializer...) > Thanks, > Laurent > > -----Original Message----- > From: Jasha Joachimsthal (JIRA) [mailto:j...@apache.org] > Sent: mardi, 24. août 2010 08:22 > To: dev@cocoon.apache.org > Subject: [jira] Commented: (COCOON-2295) integrating FOP-1.0 into > Cocoon-2.1.12-dev > > > [ > https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901743#action_12901743] > > Jasha Joachimsthal commented on COCOON-2295: > -------------------------------------------- > > Can't make the Batik block to work for JPEG/PNG serialization so won't > apply this patch. > > > integrating FOP-1.0 into Cocoon-2.1.12-dev > > ------------------------------------------ > > > > Key: COCOON-2295 > > URL: https://issues.apache.org/jira/browse/COCOON-2295 > > Project: Cocoon > > Issue Type: Improvement > > Components: Blocks: FOP > > Affects Versions: 2.1.12-dev (Current SVN) > > Reporter: ron van den branden > > Assignee: Jasha Joachimsthal > > Attachments: jars.patch, jars.xml > > > > > > Here are instructions for updating the current FOP-0.95 serializer in > Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289): > > 1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X > > 2. download (and build) FOP-1.0 from > http://xmlgraphics.apache.org/fop/download.html > > 3. update jars in %COCOON_HOME%\lib\*: > > -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with > %FOP_HOME%\lib\batik-all-1.7.jar > > -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with > %FOP_HOME%\build\fop.jar > > -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar > with %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar > > -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar > with %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar > > -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to > %COCOON_HOME%\lib\endorsed > > -copy %FOP_HOME%\lib\serializer-2.7.0.jar to > %COCOON_HOME%\lib\optional > > 4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see > attached file) > > 5. build Cocoon > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > ____________________________________________________________ > > • This email and any files transmitted with it are CONFIDENTIAL and > intended > solely for the use of the individual or entity to which they are > addressed. > • Any unauthorized copying, disclosure, or distribution of the material > within > this email is strictly forbidden. > • Any views or opinions presented within this e-mail are solely those of > the > author and do not necessarily represent those of Odyssey Financial > Technologies SA unless otherwise specifically stated. > • An electronic message is not binding on its sender. Any message referring > to > a binding engagement must be confirmed in writing and duly signed. > • If you have received this email in error, please notify the sender > immediately > and delete the original. >