[arch-general] [arch-dev-public] Ant issue after bump

Henning Garus henning.garus at googlemail.com
Wed Mar 3 06:16:00 EST 2010


On Tue, 02.03.2010 um 16:30 +0100, Andreas Radke wrote:
> something different: you have bumped apache-ant - please look at this
> 
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-February/008464.html
> 
> Any ideas how to fix our ant pkg that I can build OpenJDK again? Run ant
> --diagnostics. Probably some stuff is missing (xerces and xalan are
> present). I'd like to call everybody with some java experience for
> help here. 

The build failure is triggered by a bug in ant 1.8.0, which is already fixed
in their SVN:

https://issues.apache.org/bugzilla/show_bug.cgi?id=48782
http://svn.apache.org/viewvc?view=revision&revision=912258

As a workaround you can put symlinks to
/usr/share/java/{xalan.jar,serializer.jar} into
/usr/share/java/apache-ant/lib/ , which makes ant use the xslt processor
provided by xalan-java instead of the one from openjdk. As a side effect this
avoids the NullPointerException which caused ant -diagnostics to fail.


More information about the arch-general mailing list