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 09:56:54 GMT
junit is not on your CLASSPATH on deadrat (whatever that may be) but
on Windows and the way you add it in the build file doesn't work:

>    <path id="compileClasspath">
>      <pathelement path="/usr/java"/>
>      <pathelement location="junit.jar"/>
>    </path>

Adds the directory /usr/java and the file junit.jar that lives in your
basedir to the classpath.  Make the second one 

  <pathelement location="/usr/java/junit.jar"/> 

and it should work.

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