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

Re: svnant and the HEAD version #

From: Cédric Chabanois <cchabanois_at_no-log.org>
Date: 2004-07-24 19:45:53 CEST

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

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.