Bug#334919: ant 1.6.5 fails on custom task, where ant 1.6.2 succeeded.

Michael Koch konqueror at gmx.de
Fri Oct 21 06:52:29 UTC 2005


On Thu, Oct 20, 2005 at 09:54:55PM +0200, Wolfgang Baer wrote:
> Hi Eric,
> 
> this is definitly not a bug in ant but in your package. I will leave the bug
> open until it is fixed. Please test the comments below:
> 
> Eric Lavarde wrote:
> >BUILD FAILED
> >/home/ericl/freemind-0.8.0/freemind/build.xml:71: The following error 
> >occurred while executing this line:
> >java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
> 
> This class is and was never part of ant - its a xml api class provided by
> several packages in debian (libxerces2-java, libgnujaxp-java, 
> libjaxp1.2-java)
> 
> Looking at your build file you seem to use the one from libgnujaxp-java
> (gnujaxp entry below).
> 
> >DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar xercesImpl gnujaxp
> 
> But your control file doesn't include this build-dep so it is not available 
> as
> you can see by the ant command in the output.
> 
> Suggested (not tested) fix:
> 
> Either use jaxp-1.2 as you build-dep on libjaxp1.2-java
> or use xmlParserAPIs (the jar which is included in the libxerces2-java 
> package)
> 
> Another fix - build-depend on libgnujaxp-java to satisfy gnujaxp jar. 
> However
> IMHO this would be bad as this introduces just one more build-dep which is 
> not
> needed.
> 
> Please test it and close the bug if it fixes this. Otherwise I will
> have a look somewhere next week.

Is libgnujaxp-java needed anymore? Afaik all free runtimes should
include it already. GCJ does and GNU classpath does.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/




More information about the pkg-java-maintainers mailing list