xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: [GUMP@vmgump]: Project xmlgraphics-commons-test (in module xmlgraphics-commons) failed
Date Thu, 21 Oct 2010 08:40:15 GMT
I'm getting a little tired of the Gump nags. I've looked at
TIFFImageEncoder but I don't see an easy way to work around OpenJDK's
restrictions. I see two possible routes (all involving removal of the
dependency on com.sun classes):

1. Remove the internal codecs in their entirety and just rely on ImageIO.
That means people wanting TIFF read/write support need to install JAI
ImageIO Tools or an equivalent TIFF codec. I can also write an Apache
Commons Sanselan plug-in to cover TIFF (but without JPEG compression).

2. Just remove the internal JPEG and TIFF codecs. The PNG codec contains
gamma/chromacity handling which is important to Batik. We could leave
that for the time being.

3. Remove the internal JPEG codec and try to extract the JPEG encoding
support from the internal TIFF codec. For CCITT compression in TIFF,
JAI ImageIO tools would still be required.

3 is probably the solution that takes the most effort but with minimal
impact, especially for users. 1 could be problematic since the ImageIO
ImageWriters don't contain the gamma/chromacity handling for PNG, yet.

I'm tending towards 3 but I'm not sure when I'll have time to do it. At
least, when this is solved here, we could finally add XGC as a
dependency of Batik and delete the duplicate codecs there after checking
if there have been any changes to Batik's codecs since branching them
off to XGC.

WDYT?

References:
- https://issues.apache.org/bugzilla/show_bug.cgi?id=38183
- http://wiki.apache.org/xmlgraphics/GnuClasspathCompatibility
- https://issues.apache.org/bugzilla/show_bug.cgi?id=46513

On 10.08.2010 11:30:44 Jeremias Maerki wrote:
> Hmm, that's OpenJDK 6 with an incomplete reconstruction of the
> sun-private JPEG codec. Nothing we can do other than try to get rid of
> these codecs. The same problem will be happening in Batik but fully
> switching to ImageIO may need some fine-tuning as Thomas indicated to me
> once. So just removing them is not that easy. Also, for TIFF output,
> users will be required to install JAI ImageIO Tools because the JREs
> don't usually supply a TIFF codec. At any rate, it's a bad idea to use
> com.sun classes assumed to be present in the JRE, especially since
> Apache Harmony doesn't have them.
> 
> On 10.08.2010 04:35:05 Jeremias Maerki wrote:
> > To whom it may engage...
> >         
> > This is an automated request, but not an unsolicited one. For 
> > more information please visit http://gump.apache.org/nagged.html, 
> > and/or contact the folk at general@gump.apache.org.
> > 
> > Project xmlgraphics-commons-test has an issue affecting its community integration.
> > This issue affects 1 projects,
> >  and has been outstanding for 3 runs.
> > The current state of this project is 'Failed', with reason 'Build Failed'.
> > For reference only, the following projects are affected by this:
> >     - xmlgraphics-commons-test :  Apache XML Graphics Commons - Common Components
for Batik an...
> > 
> > 
> > Full details are available at:
> >     http://vmgump.apache.org/gump/public/xmlgraphics-commons/xmlgraphics-commons-test/index.html
> > 
> > That said, some information snippets are provided here.
> > 
> > The following annotations (debug/informational/warning/error messages) were provided:
> >  -INFO- MkDir attempt on pre-existing directory [/srv/gump/public/workspace/xmlgraphics-commons/build/classes]
> >  -INFO- Failed with reason build failed
> > 
> > 
> > 
> > The following work was performed:
> > http://vmgump.apache.org/gump/public/xmlgraphics-commons/xmlgraphics-commons-test/gump_work/build_xmlgraphics-commons_xmlgraphics-commons-test.html
> > Work Name: build_xmlgraphics-commons_xmlgraphics-commons-test (Type: Build)
> > Work ended in a state of : Failed
> > Elapsed: 43 secs
> > Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dant.build.clonevm=true
org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only
-Dversion=10082010 gump 
> > [Working Directory: /srv/gump/public/workspace/xmlgraphics-commons]
> > CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/xmlgraphics-commons/build/test-classes:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-10082010.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar:/srv/gump/public/workspace/xmlgraphics-commons/build/xmlgraphics-commons-10082010.jar
> > ---------------------------------------------
> >     [junit] Testsuite: org.apache.xmlgraphics.util.ClasspathResourceTest
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.091 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.util.ServiceTest
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.112 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.util.UnitConvTestCase
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.067 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.util.io.ASCII85InputStreamTestCase
> >     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.105 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.util.io.ASCII85OutputStreamTestCase
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.074 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.util.io.Base64Test
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.331 sec
> >     [junit] 
> >     [junit] ------------- Standard Output ---------------
> >     [junit] /srv/gump/public/workspace/xmlgraphics-commons
> >     [junit] ------------- ---------------- ---------------
> >     [junit] Testsuite: org.apache.xmlgraphics.util.io.SubInputStreamTestCase
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.096 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.util.uri.CommonURIResolverTestCase
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.203 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.util.uri.DataURIResolverTestCase
> >     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.xmp.DateFormattingTest
> >     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.081 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.xmp.XMPParserTest
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.248 sec
> >     [junit] 
> >     [junit] Testsuite: org.apache.xmlgraphics.xmp.XMPPropertyTest
> >     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.197 sec
> >     [junit] 
> > 
> > junit:
> > 
> > BUILD FAILED
> > /srv/gump/public/workspace/xmlgraphics-commons/build.xml:348: NOTE:
> > **************************************************************************
> > * One or more of the Junit tests had Failures or Errors or were skipped! *
> > *         Please check the output above for relevant messages.           *
> > **************************************************************************
> > 
> > Total time: 43 seconds
> > ---------------------------------------------
> > 
> > To subscribe to this information via syndicated feeds:
> > - RSS: http://vmgump.apache.org/gump/public/xmlgraphics-commons/xmlgraphics-commons-test/rss.xml
> > - Atom: http://vmgump.apache.org/gump/public/xmlgraphics-commons/xmlgraphics-commons-test/atom.xml
> > 
> > ============================== Gump Tracking Only ===
> > Produced by Gump version 2.3.
> > Gump Run 15000010082010, vmgump.apache.org:vmgump:15000010082010
> > Gump E-mail Identifier (unique within run) #17.
> > 
> > --
> > Apache Gump
> > http://gump.apache.org/ [Instance: vmgump]
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: general-help@xmlgraphics.apache.org
> 




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message