I already do a fork on the junit task, detlef.
Quoting Dominique Devienne <[EMAIL PROTECTED]>: > Forking the code that uses XML stuff (in <java> & <junit>) usually fixes > the > problem. --DD > > -----Original Message----- > From: Detlef Brendle [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 01, 2002 10:24 AM > To: Ant Developers List > Subject: Ant 1.5 and xerces > > Hi, > I dont know whether this is exactly an issue related to the Ant1.5 > release. > I have written a task which uses classes from the xerces.jar (version > 1.4.4). > If I compile everything works fine. But when I run the junit task which > also > runs a junit class written for testing my task it fails with the > following > error: > > java.lang.VerifyError: ....method merge signature(.....) Incompatible > object > argukent for function call > > However I checked my classpath which has beside other jar files the > optional > jar from the ant 1.5 distribution and my xerces jar file. The thing is > that > the optional jar file refers to the xercesImpl.jar also distributed with > Ant. This optional jar is on the classpath prior to the xerces.jar. > I tried different things and found out if I change the order of these > two > jar files on my classpath it then works. > > Anyway this is not a solution for me for various reasons. > I tried to exactly figure out why this is so and why I need xerces.jar > at > all. Would it be possible for me to use a Parser beeing shipped with Ant > ??? > > Does anybody have a solution for this problem ? > > thanks, > > detlef > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
