cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: [OT] CVS version strings
Date Mon, 18 Aug 2003 13:39:12 GMT
On 18.Aug.2003 -- 01:39 PM, Jeremy Quinn wrote:
> Hi All,
> 
> I like the trick in the Cocoon source code whereby the CVS version, 
> date and committer username is embedded in the source files. I would 
> like to do the same with one of my repositories.
> 
> How does this get inserted into our files, and kept up to date? :
> 
> eg.
> 
>   * @version CVS $Id: InterpreterSelector.java,v 1.2 2003/03/16 
> 17:49:11 vgritsenko Exp $
> 
> Is this done by hand, or through some CVS or Ant magic?

It's done by CVS. There are a number of magic tags enclosed with
$$. The one above is $Id$ which will be expanded to the above. 

See

http://www.cvshome.org/docs/manual/cvs-1.11.6/cvs_12.html

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

Mime
View raw message