ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
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 build.sh 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 ./build.sh 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. build.sh 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.

-Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message