xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42320] Maven POMs for most Batik libraries
Date Mon, 09 Jun 2008 22:32:34 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42320


Jake Landis <jake.landis@cerner.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jake.landis@cerner.com




--- Comment #20 from Jake Landis <jake.landis@cerner.com>  2008-06-09 15:32:33 PST ---
FYI, If others run into this....The SPI runtime dependencies are not listed in
the POM (at least for the transcoder project
http://repo1.maven.org/maven2/org/apache/xmlgraphics/batik-transcoder/1.7/batik-transcoder-1.7.pom).
 For example this dependency is a runtime depedency for the transcoder project:
                <dependency> 
                        <groupId>org.apache.xmlgraphics</groupId>
                        <artifactId>batik-codec</artifactId>
                        <version>1.7</version>
                        <scope>runtime</scope>
                </dependency>   

Not sure if leaving out the SPI runtime dependencies from the POM is a bug or
if it is by design....but can result in this error if you dont have a service
provider defined on the class path for
org.apache.batik.ext.awt.image.spi.ImageWriter (batik-codec contains the
default service provider):

org.apache.batik.transcoder.TranscoderException: null
Enclosed Exception:
Could not write PNG file because no WriteAdapter is availble
        at
org.apache.batik.transcoder.image.ImageTranscoder.transcode(ImageTranscoder.java:132)
        at
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
        at
org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
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