ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant & junit works on win98, fails on deadrat 6.2
Date Mon, 28 Jan 2002 14:57:46 GMT
On Mon, 28 Jan 2002, Ray Tayek <rtayek@mediaone.net> wrote:

> i do have an optional.jar in the lib directory. there are 3
> junit*.xsl files in there. do i need more?

junit.jar

with 

> <junit fork="yes" printsummary="on"  haltonfailure="true">
>   <classpath> 
>     <pathelement path="."/>
>   </classpath>
>   <test name="MainTest"/>
>   <formatter type="brief" usefile="false"/>
> </junit>

you don't tell Ant where to find junit.

Add it to the classpath as well (and come back when you set fork to
false, as it won't work any longer after that ...)

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message