--- Ray Tayek <[EMAIL PROTECTED]> wrote:
> >Have you tried putting it in $ANT_HOME/lib instead
>
> i tried that and it did not help.
I picked up the target you included in an earlier mail, and all I changed
was to get rid of the pointer to /usr/java/junit.jar (ie., reduced your
<classpath> to just <pathelement path="."/>) and I get:
test:
[junit] Running MainTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Testsuite: MainTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Null Test: : Caused an ERROR
[junit] ...
I run Ant without a CLASSPATH env var set, and my junit.jar is in
$ANT_HOME/lib (along with optional.jar, which is also required for the
<junit> task). I'm running on an NT, but under cygwin, using Ant 1.4 (and
1.4.1). However, if I make a /usr/java and put junit.jar in there and
point to it in <classpath>, then I get the "Cannot create task..." error.
So I'd suggest putting junit.jar in $ANT_HOME/lib again, then going from
there to try and narrow it down to what's getting in the way.
Diane
=====
([EMAIL PROTECTED])
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>