Make sure junit.jar is in the classpath defined in your <junit> task - it
forks a new VM and so it needs to be handed junit.jar also.
Erik
----- Original Message -----
From: "Atherton Richard - Z9V" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 7:40 AM
Subject: RE: Class org/xml/sax/InputSource violates loader constraints
If I do this ANT can no longer find the Junit task. Where do I have to
define this?
-----Original Message-----
From: Conor MacNeill [mailto:[EMAIL PROTECTED]]
Sent: mardi 28 ao�t 2001 16:07
To: [EMAIL PROTECTED]
Subject: Re: Class org/xml/sax/InputSource violates loader constraints
You will need to fork your junit task.
Conor
----- Original Message -----
From: "Atherton Richard - Z9V" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 11:52 PM
Subject: Class org/xml/sax/InputSource violates loader constraints
>
> I am using the Ant Junit task, running a single suite using the textui.
Has
> anybody come across the following when using the Ant Junit task? Either
the
> Ant or the JUnit class loader seems to be complaining about the
InputSource
> class inside 'xerces.jar'. (We get the problem when using the JUnit Swing
> GUI outside of Ant, which has a dynamic class loader).
>
> Cheers,
> Richard.
>