On Tue, 17 Jul 2001, T. Master <[EMAIL PROTECTED]> 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

Reply via email to