ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: How to update build number without screwing up build.properties format
Date Tue, 21 Feb 2006 21:59:48 GMT
How about using a different properties file for your build number?

-Rob A

> -----Original Message-----
> From: Matthew Hughes [mailto:mhughes@feith.com] 
> Sent: Tuesday, February 14, 2006 11:07 AM
> To: user@ant.apache.org
> Subject: How to update build number without screwing up 
> build.properties format
> 
> I have a build.properties file that contains my build.number 
> property.  
> Part of my build is updating that number by one on each build using:
> 
> <propertyfile file="build.properties" >
>   <entry default="0001" key="build.number" operation="+" 
> pattern="0000" 
> type="int" />
> </propertyfile>
> 
> It does what it needs to do, but it also reorders all the 
> other properties in the file.  I have a lot of properties in 
> the file and group them with carriage returns to make it 
> easier to see what does 
> what.   Any suggestions for how to update the number without 
> scrambling 
> the order of properties.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


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


Mime
View raw message