ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
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).

Conor




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message