Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 90205 invoked by uid 500); 18 Aug 2003 13:39:49 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 90192 invoked from network); 18 Aug 2003 13:39:48 -0000 Received: from mailserver1.hrz.tu-darmstadt.de (130.83.126.41) by daedalus.apache.org with SMTP; 18 Aug 2003 13:39:48 -0000 Received: from paris (paris.dvs1.informatik.tu-darmstadt.de [130.83.27.43]) by mailserver1.hrz.tu-darmstadt.de (8.12.9/8.12.8) with ESMTP id h7IDdDpU022633 for ; Mon, 18 Aug 2003 15:39:13 +0200 Received: from bremen.dvs1.informatik.tu-darmstadt.de (bremen [130.83.27.69]) by paris (Postfix) with ESMTP id 44B5DFE3C for ; Mon, 18 Aug 2003 15:39:13 +0200 (MET DST) Received: from haul by bremen.dvs1.informatik.tu-darmstadt.de with local (Exim 3.36 #1 (Debian)) id 19okE4-0005cn-00 for ; Mon, 18 Aug 2003 15:39:12 +0200 Date: Mon, 18 Aug 2003 15:39:12 +0200 To: dev@cocoon.apache.org Subject: Re: [OT] CVS version strings Message-ID: <20030818133912.GC1259@bremen.dvs1.informatik.tu-darmstadt.de> Reply-To: haul@informatik.tu-darmstadt.de References: <0FE01AF0-D179-11D7-91A1-0003935AD2EE@media.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0FE01AF0-D179-11D7-91A1-0003935AD2EE@media.demon.co.uk> Organization: Databases and Distributed Systems Group, Darmstadt University of Technology User-Agent: Mutt/1.5.4i From: Christian Haul X-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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