Problem With buildnumber/ Task.
0 posts in topic
Flat View  Flat View

Posted By:   Michael_Schaefer
Posted On:   Friday, January 6, 2006 12:36 PM

I'm using the buildnumber task to generate build numbers. But I'm seeing two problems. If I put it at the start of my script outside of any targets, I'd expect it to get called only once each time the ant script is run. It gets called 4 times so my build numbers increment by 4. WTF? Also, I can't put it in an "init" task because it also gets called more than once and my attempts to write conditional logic using Ant conditions have so far not worked.

Anybody have any suggestions on how to get this to work properly?



About | Sitemap | Contact