Unlike cvs, subversion's revision numbers apply to entire trees, not
individual files.
There is a new "status" command in svnant 0.9.13 that can probably help you.
Cédric
>> 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?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
Received on Sun Jul 25 03:45:53 2004