Am 06.05.11 11:05, schrieb Brecht Schoolmeesters:
I use cocoon 2.2. Hope you can help.
We did it like this:
1. Download / checkout the cocoon-batik-impl module, either tag or trunk
http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon-batik-impl/cocoon-batik-impl-1.0.0/
https://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-batik/cocoon-batik-impl
2. Update the version number:
<version>1.1.0-myproject-r...</version>
3. Optional, makes things a bit easier: Compile a custom Batik Maven
artifact, including the whole Batik distribution
4. Update the Batik dependency in cocoon-batik-impl (will be a lot of
dependencies if you skip step 3)
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik</artifactId>
<version>1.7</version>
</dependency>
5. Update the cocoon-batik-impl dependency in your project POMs, if
necessary add exclusion tags to avoid transitive dependencies to the old
version
HTH,
-- Andreas
Best regards,
Brecht
Hi Brecht,
Which version of cocoon do you use?
Best Regards,
Antonio Gallardo.
On 04/05/11 02:40, Brecht Schoolmeesters wrote:
Hello,
we are using cocoon to generate png images from svg format. We use
cocoon + batik + some xslt tranformations (Saxon) to do this.
I found that cocoon uses batik 1.6.1, but there was a bug in that
version: when a special character, eg é, appeared as the second or
later character in a string, the rendering would fail with
a java.lang.ArrayIndexOutOfBoundsException. More
info: https://issues.apache.org/bugzilla/show_bug.cgi?format=multiple&id=38158
<https://issues.apache.org/bugzilla/show_bug.cgi?format=multiple&id=38158>
This bug was fixed in version 1.7, so now my question: is it possible
to create a new block in the repo that uses batik 1.7, or is it
possible for me to include this newer version? I don't have a lot of
experience with using cocoon/blocks.
thanks in advance,
Brecht
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01