[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svnant and the HEAD version #

From: <5ub5_at_3mai1.com>
Date: 2004-07-24 17:48:57 CEST

> 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

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.