ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detlef Brendle" <>
Subject Ant 1.5 and xerces
Date Tue, 01 Oct 2002 15:23:36 GMT
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
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

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 ?



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

View raw message