> Is there any way for svnant to retrieve the HEAD revision number into an
> ant property (or
> something similar)? My team wants to append distribution files with the
> Subversion repository
> revision number appended (ie. webapp_2323.war). The intent is to make
> obvious the revision used
> to build a given distributable.
Not being fimilar with subversion and based on my experience with other
version control systems, what you are doing here sounds wrong to me. It
sounds like each distribution depends on only one file. If that is the
case, then appending the revision number to the built file is appropriate.
But aren't real world distributions dependent on multiple files and in the
real world, each dependent file has a different revision number. Wouldn't
it be more appropriate to give each file in the distribution a build label
or a release label and then append that build or release label to the
resultant file?
Received on Sun Jul 25 01:48:57 2004