ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: <buildnumber/> task: does it increment only for successful builds?
Date Fri, 01 Aug 2003 14:42:15 GMT
On Fri, 1 Aug 2003 11:00 pm, Carl Schumann wrote:
> Hi,
> Does <buildnumber/> only increment for successful builds?  The on-line
> docs do not appear to address this.

There is no transactional stuff in Ant. Once the task is run, its effect won't 
be undone by subsequent actions failing. 

If you read the build number with <property> at the start and make the build 
increment with <buildnumber> the last thing in the build it will come close 
to what you are trying to do, I'd say (Not tested).


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

View raw message