The problem is that the version number is not held in a property file (although it could be). This is one of the anthill 'features' - anthill will maintain a version file, containing a version number:I'm CC'ing Maciej "King of the Anthill" Zawadzki on this message... perhaps the solution to this is to have Anthill use a properties file format instead. What say you, Maciej?
<prefix><buildNo><postfix>
It searches from the end of the string to find the first numeric portion and increments this. It's this behaviour that I'm trying to emulate with the script.
As for using <propertyfile> for this numbering scheme - it could be done by breaking up the prefix, build number, and postfix into separate properties, and then having a single property that glues them all together Anthill-style. If Anthill read it as a properties file, it would not matter that there were additional properties there containing the pieces, which you'd use to increment yourself with <propertyfile>.
I suspect Maciej is curious, as am I, why you are doing some tricks with this file instead of letting Anthill itself handle it.
Erik
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
