On 2010-07-19, Ben Matz wrote: > I added a couple Selenium jars to my build lib and when I run ANT it > reverts my ANT version to 1.6.5 (per calling ant -version) whereas it > is actually 1.7.1? When I remove the jars the version goes back to > 1.7.1?! Is that bizarre or what?
I assume you've copied the jars to $ANT_HOME/lib, $HOME/.ant/lib or a directory added via the -lib command line switch. Any such jar ends up on the same classloader that is used to load Ant itself. One explanation would be that one of the jars you've added for Selenium actually contains Ant 1.6.5 and this jar is lodaded prior to ant.jar. Locate the offending jar (by looking into them, they are ZIP files after all) and either try without that jar or stripping out Ant's classes from that jar. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org