# ant-user mailing list archives

##### Site index · List index
Message view
Top
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Checking the version of Ant
Date Mon, 15 Jul 2002 18:15:57 GMT
```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: Andrew.Beacock@nokia.com [mailto:Andrew.Beacock@nokia.com]
Sent: Monday, July 15, 2002 1:03 PM
To: ant-user@jakarta.apache.org
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:ant-user-unsubscribe@jakarta.apache.org>