xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Bonazza (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BATIK-1146) batik-codec-1.8.jar is broken
Date Thu, 14 Apr 2016 11:13:25 GMT
Michele Bonazza created BATIK-1146:
--------------------------------------

             Summary: 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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message