ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Problems building Ant 1.7.0 and JDK 1.6.0
Date Fri, 12 Jan 2007 05:05:16 GMT
On Fri, 12 Jan 2007, Bruce Bushby <> wrote:

> The build fails saying "We cannot build the test jar unless JUnit is
> present" I've gone through the docs, specifically the "Installing
> Ant/Building Ant" but can't find an explanation for where I'm going
> wrong?

Even if you don't intend to run the <junit> task, you now need JUnit
when bootstrapping Ant.  The distribution now contains
ant-testutil.jar and the hard dependency on JUnit is a side effect of

Obviously we failed to adapt the installation instructions, sorry.

I'm not sure whether it is going to stay that way or whether we make
JUnit optional again in the future, but for Ant 1.7.0, JUnit is


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message