On Thu, Mar 22, 2007 at 04:51:58PM +1200, [EMAIL PROTECTED] wrote: NS>> NS>> I run ant script which amount other thinks at some point of time calls NS>> <ant file="other.xml" target="ivy" inheritAll="false"/> NS>> This calls the ivy[1] target. And here I recieve aforementioned NS>> exception. Full stacktrace of ant -v is attached. NS>> NS>> Apache Ant version 1.6.5 compiled on July 1 2006 NS>> NS>> java version "1.5.0_10" NS>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03) NS>> Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing) NS>> NS>> Any help will be appreciated. NS>> NS>> [1] http://incubator.apache.org/ivy/ NS> NS>The most important question is: what version of commons-logging is present? NS> NS>Please search your classpath for "commons-logging*". Hopefully you will find only one copy, but it's worth checking.
Well after some research it turns out that my first ant target uses some custom targets which uses their's own commons-logging.jar. Then the ivy target is called, which uses system-wide commons-logging.jar . So there were 2 jars, both of version 1.0.4, which lead to the problem . Deleting the system-wide jar has solved the problem. Upgrading system-wide jar to version 1.1 has solved the problem also (this one is preferred for my situation). NS> NS>Then open the jarfile and look in META-INF/MANIFEST.MF for the version-number, eg: NS> Implementation-Version: 1.0.4 NS> NS>If this is less than 1.1.1 (and it probably will be) then please download the 1.1.1 version from the apache site and replace the existing jarfile with it. NS> NS>If this fixes the problem, then that is useful information for us, and particularly for other JCL users. NS> NS>If this does NOT fix the problem, and you are quite sure that there are no other old copies of commons-logging in the classpath then this is *very* interesting, and I (at least) will be interested in fixguring out what's happening for your setup. NS> NS>Regards, NS> NS>Simon NS> NS> NS> -- Nikita Salnikov-Tarnovski aka Nikem --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
