ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lybarger <mlybar...@gmail.com>
Subject using buildnumber effectively
Date Mon, 19 Dec 2005 19:19:52 GMT
We're looking to attach a buildnumber to our current build process.
Only test and production builds will need to have the buildnumber
incremented.  I've noticed the buildnumber task in ant and am curious
how others are using this task?

Working from the head, it would seem fairly simple:
- update the sources from cvs,
- bump the version number,
- build  the archive (war, jar, ear, whatever),
- checkin the updated buildnumber file to cvs.   golden.

Now, suppose I branch the project to create REL_4_1.  Development is
still occuring in the head, but REL_4_1 is gearing towards production.
 The version number would get bumped in this branch, and not reflected
back into the head. Is there a way to do the CVS merging from the ant
checkin?

Any thoughts/ideas/practices would be most helpfull.

~mark

now

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message