Re: Reset BuildNumber

2009-05-01 Thread Eric Fetzer
So to make it work, here's what I had to do.  Seems like an awful lot of work to accomplish something simple like this.                                                                      

Re: Reset BuildNumber

2009-05-01 Thread Eric Fetzer
OK, yeah, I totally don't understand the task.  It seems simple enough, but doesn't behave how it should.  I started off with major.number set to 1 and minor.number set to 0.  Here's my simple build file:                                          

Re: Reset BuildNumber

2009-05-01 Thread Eric Fetzer
Yeah, the macrodef was overkill, huh.  How about:                                                           From: Eric Fetzer To: Ant Users List Sent: Friday, May 1, 2009 10:17:24 AM Subject

Re: Reset BuildNumber

2009-05-01 Thread Eric Fetzer
So, here's how I'd do it.  Is there a better way?                                                                                     From: Eric Fetzer To: Ant Users Sent: Friday,

Reset BuildNumber

2009-05-01 Thread Eric Fetzer
What is the prescribed method of setting properties in a property file?  Specifically, I'm speaking of a file that keeps track of one of the build numbers.  Here's a simple example with what I'd like to do in it: