ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: How to control the version number using ANT
Date Tue, 04 Jul 2006 07:26:21 GMT


either use the builtin <buildnumber /> ant task

see Ant Manual CoreTasks / BuildNumber


or maybe

or go with antcontrib's math task

or use a script solution with javascript / beanshell / groovy /
judoscript  ...

or write your own task


So you see, there's a whole bunch of possible solutions.

Regards, Gilbert


-----Original Message-----
From: Nagender Malik
Sent: Tuesday, July 04, 2006 9:13 AM
To: Ant Users List
Subject: How to control the version number using ANT

Is it possible to control the build number using ant?
I want to use the version in the format: <major.minor.others>. 
Nagender Malik

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

View raw message