RE: How to update build number without screwing up build.properties format

2006-02-21 Thread Anderson, Rob (Global Trade)
How about using a different properties file for your build number? -Rob A > -Original Message- > From: Matthew Hughes [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 14, 2006 11:07 AM > To: user@ant.apache.org > Subject: How to update build number without screwing up > build.propert

Re: How to update build number without screwing up build.properties format

2006-02-14 Thread Ninju Bohra
How about 1) Read the properties in (via ) 2) Generate a property whose value equals the line of text in question (i.e. the value might be 'build.number=100') 3) Using the element (from ant-contrib) to generate the next number into a property 4) Assign a property whose value equals the new lin