Bug#447469: javahelp2: FTBFS: class org.apache.tools.ant.taskdefs.optional.depend.Depend was not found

Michael Koch konqueror at gmx.de
Wed Oct 24 05:26:17 UTC 2007


Hello,


On Sun, Oct 21, 2007 at 12:21:56PM +0200, Lucas Nussbaum wrote:
> /build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/javahelp_nbproject/build.xml:119: The following error occurred while executing this line:
> /build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/JSearchIndexer_nbproject/nbproject/build-impl.xml:241: The following error occurred while executing this line:
> /build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/JSearchClient_nbproject/nbproject/build-impl.xml:241: The following error occurred while executing this line:
> /build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/javahelp_nbproject/nbproject/build-impl.xml:251: The following error occurred while executing this line:
> /build/user/javahelp2-2.0.05/build-tree/javahelp2-2.0.05/javahelp_nbproject/nbproject/build-impl.xml:129: Problem: failed to create task or type depend
> Cause: the class org.apache.tools.ant.taskdefs.optional.depend.Depend was not found.
>         This looks like one of Ant's optional components.
> Action: Check that the appropriate optional JAR exists in
>         -/usr/share/ant/lib
>         -/nonexistent/.ant/lib
>         -a directory added on the command line with the -lib argument
> 
> Do not panic, this is a common problem.
> The commonest cause is a missing JAR.
> 
> This is not a bug; it is a configuration problem

Problem is that the package Build-Depends on ant and not on
ant-optional. The solution is to just change this (ant-optional itself
depends on ant, so only ant-optional is needed)


Cheers,
Michael





More information about the pkg-java-maintainers mailing list