Bug#448073: ant doesn't work in eclipse due to ant-launcher.jar not on classpath

Michael Koch konqueror at gmx.de
Thu Oct 25 19:53:28 UTC 2007


Version: 3.2.2-4

On Thu, Oct 25, 2007 at 08:37:49PM +0100, Matthew Toseland wrote:
> Package: eclipse
> Version: 3.2.1-6
> Severity: important
> 
> 
> Eclipse is unable to run ant because of a classpath problem. It produces
> an error box "could not find org.apache.tools.ant.launch.AntMain".
> Specifically, ant-launcher.jar is missing from the ant classpath config
> within eclipse. This persists across purging and reinstalling eclipse so
> appears to be a problem with eclipse itself. Adding the missing jar to
> the classpath fixes the problem, so it should be easy to fix. The
> missing jar is ant-launcher.jar, which is not symlinked in
> /usr/lib/eclipse/plugins/org.apache.ant_1.6.5/lib with the other jars; I
> added it from /usr/share/ant/lib/ directly, now building with ant works.
> 
> PS the following may be relevant:
> $ ant -version
> Apache Ant version 1.7.0 compiled on August 24 2007
> Listed in aptitude as 1.7.0-3

This was fixed in Eclipse 3.2.2-4.


Cheers,
Michael





More information about the pkg-java-maintainers mailing list