ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: tests failing w/ illegal access error
Date Wed, 21 Apr 2004 12:30:08 GMT
Peter Reilly wrote:
> Steve Loughran wrote:
>> This is me running test or ant test from ant CVS_HEAD; 
>> CLASSPATH is empty. or should be. I will take a look.
> Did you do rm -rf bootstrap build
> before doing ./ test

not the bootstrap, but I just did that and got the same result. hmmm.

Ok. here is the fix, Stefan's multiple classloader trick was the one.

1. delete ant-testutils.jar from ANT_HOME/lib
2. rm -rf bootstrap buld
3. test

I had copied the testutils jar into the lib dir so that I can (easily) 
run unit tests of other projects containing ant tasks. And that was 
causing confusion.

tests all running happily now.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message