[
https://issues.apache.org/jira/browse/BATIK-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15327376#comment-15327376
]
Erich Schubert commented on BATIK-1146:
---------------------------------------
There is a bug that may prevent them from working correctly. See BATIK-1125
> batik-codec-1.8.jar is broken
> -----------------------------
>
> Key: BATIK-1146
> URL: https://issues.apache.org/jira/browse/BATIK-1146
> Project: Batik
> Issue Type: Bug
> Components: SVGGraphics2D, Utilities
> Affects Versions: 1.8
> Reporter: Michele Bonazza
>
> the jar for batik-codec that's both in maven and in the distribution mirrors
> has a {{META-INF/services}} folder containing two files ({{RegistryEntry}}
> and {{ImageWriter}}) that point to classes inside the {{imageio}} package:
> {code:java}
> org.apache.batik.ext.awt.image.codec.imageio.ImageIOPNGImageWriter
> org.apache.batik.ext.awt.image.codec.imageio.ImageIOTIFFImageWriter
> org.apache.batik.ext.awt.image.codec.imageio.ImageIOJPEGImageWriter
> {code}
> However, the {{org.apache.batik.ext.awt.image.codec.imageio}} package is not
> included in the jar.
> Both files have commented-out entries that would work:
> {code:java}
> #org.apache.batik.ext.awt.image.codec.png.PNGRegistryEntry
> #org.apache.batik.ext.awt.image.codec.tiff.TIFFRegistryEntry
> {code}
> This causes a {{ClassNotFoundException}} when trying to include images in a
> SVG file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]