ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: incrementing a build number
Date Thu, 20 Jul 2000 13:21:46 GMT
>>>>> "SB" == Stuart Barlow <> writes:

 SB> Do I need to write my own task?

I'm afraid yes, but I might be wrong.

Reading the number from a file is simple (use the file attribute of
<property>). Creating a new property with the incremented number could
be done using a script task - though I haven't tried it. But I don't
see how you could write this number back into the file you've read the
original number from.

Using a replace task could be the solution for that - probably using
scripting again.


View raw message