ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [antlist] How to install/configure JUnit task
Date Wed, 18 Jul 2001 05:31:14 GMT
On Tue, 17 Jul 2001, T. Master <tmaster@iknowledgeinc.com> wrote:

> I've since learnt to define a new task within build.xml using
> something similar to:
> 
>     <taskdef name="junit" classname="junit.framework.TestCase">
>         <classpath>
>             <pathelement location="${junit.classpath}"/>
>         </classpath>
>     </taskdef>

TestCase is not a task, so this taskdef won√Ąt get you anywhere, sorry.

> This gives an error of:
>  > unittests/example/build.xml [34] taskdef class
>  > junit.framework.TestCase
> cannot be found

Is the property junit.classpath defined at the point where you place
this taskdef?

Stefan

Mime
View raw message