Actually, as it stands in the 1.5 version of ...\bin\ant.bat (haven't checked the other scripts to start Ant in shell, perl, python, etc...), if you define ANT_OPTS so that your main class name is the last argument in there, and skip the first argument (args[0]) before sending it to the real Ant Main, you don't have to change Ant at all... But nevermind. --DD
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 1:03 PM To: [EMAIL PROTECTED] Subject: RE: Checking the version of Ant Dominique, > Code below not tested. This doe require you to change the > script to start > Ant, but you seem to be doing that anyway... --DD I wasn't changing the start scripts, just adding some new targets to my build.xml and adding the -version information to build.properties. Thanks for the suggested code, don't think I'll use it though, as I don't want to use a non-standard Ant package. Andy. -- Andrew Beacock Principal Software Engineer Nokia NMP/MSW/SSP/MMS -- 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]>