ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: junit task newbie
Date Fri, 31 Jan 2003 20:16:35 GMT
Try forking your unit test. <junit fork="true" />.

Ant does it's best to simulate running the junit test as if they had been
started from the command line (using the normal JDK system class loader),
can only do so much, especially when it comes to XML parsers. Forking gives
your tests a much cleaner classloader environment. --DD

-----Original Message-----
From: McReynolds, David [] 
Sent: Friday, January 31, 2003 2:03 PM
To: 'Ant Users List'
Subject: RE: junit task newbie

using 3.8.1. checked the it is the same as the one from
the faq. still no joy.

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

View raw message