Can Ant increment a build number
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Joseph_Biron
Posted On:   Wednesday, August 22, 2001 05:45 PM

Can Ant increment a build number each time I run a particular target? I archive my source into a ZIP and ftp and email it, and I like the archive's filename to include a build number. Currently, I have a buildNum property that I must manually increment. Any way to have Ant increment it for me?

Re: Can Ant increment a build number

Posted By:   Erik_Hatcher  
Posted On:   Wednesday, August 22, 2001 05:47 PM

Look into the optional task. That task can increment property file entries and you could then read that property file into Ant's properties and obtain an auto-incrementing number that way.
About | Sitemap | Contact