ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: junit and ant again
Date Thu, 25 Sep 2003 08:09:50 GMT
On Tue, 23 Sep 2003, Jon Schewe <> wrote:

> So I put junit-3.8.1.jar in /opt/jakarta/ant/lib along with
> optional.jar.

This is supposed to work - and your Java command line looks fine as

> Here's what I get:
> file:/home/jpschewe/src/java/threadbench/build.xml:64: Could not
> create task or type of type: junit.

Please run "ant -debug".  It will tell you, which class Ant has failed
to load.

> I'm using ant 1.5.1

Using Ant's official binary, jpackages's RPM or a self-compiled
version?  If you've compiled Ant yourself, the <junit> task won't be
available unless you had junit.jar around when you compiled Ant.


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

View raw message