Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 60822 invoked from network); 9 Jun 2004 09:46:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Jun 2004 09:46:44 -0000 Received: (qmail 35308 invoked by uid 500); 9 Jun 2004 09:47:02 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 35225 invoked by uid 500); 9 Jun 2004 09:47:02 -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 35205 invoked by uid 99); 9 Jun 2004 09:47:01 -0000 Received: from [66.111.0.243] (HELO confixx.bestiole.ch) (66.111.0.243) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 09 Jun 2004 02:47:01 -0700 Received: from [192.168.0.162] (michel.wod.ch [62.220.137.25]) by confixx.bestiole.ch (8.11.6/8.11.6) with ESMTP id i599kG406724 for ; Wed, 9 Jun 2004 11:46:16 +0200 Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <40C6D75E.1010801@apache.org> References: <40C42D89.9070700@apache.org> <40C47C50.10102@apache.org> <42997.10.0.0.5.1086627339.squirrel@ags01.agsoftware.dnsalias.com> <40C4DC79.4060101@apache.org> <43496.10.0.0.5.1086653827.squirrel@ags01.agsoftware.dnsalias.com> <40C55D78.4070602@apache.org> <33100.10.0.0.5.1086717580.squirrel@ags01.agsoftware.dnsalias.com> <75F52A06-B9D7-11D8-844F-000A95AF004E@apache.org> <34520.10.0.0.5.1086760454.squirrel@ags01.agsoftware.dnsalias.com> <45355807-B9DA-11D8-844F-000A95AF004E@apache.org> <40C6C26E.4040902@apache.org> <40DF1714-B9ED-11D8-89AF-000A95AF004E@apache.org> <40C6D75E.1010801@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Bertrand Delacretaz Subject: Re: Use of the what command with java code Date: Wed, 9 Jun 2004 11:46:13 +0200 To: dev@cocoon.apache.org X-Mailer: Apple Mail (2.613) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Le 9 juin 04, =E0 11:24, Sylvain Wallez a =E9crit : > ...There's a problem with Antonio's proposal: people that download the=20= > official release don't have the source control information (be it CVS=20= > or SVN), yet still have to build their own copy of Cocoon... Not sure if I understand: the SVN release number would be included in=20 the manifest in jar files, and people can use cvsview (or whatever the=20= SVN equivalent is) to get at the right version of the file, isn't it? > ...So I'm more in favor of including the "what" information, which=20 > puts a small but indelibile stamp in class files (provided of course=20= > that the file hasn't been modified after its checkout).... And this could work for your own code as well if you respect the what=20 convention, so I agree that it is more precise. The downside is making=20= sure this info is in every source file, we'd need a script or ant task=20= to check I guess. > ...And yes, I admit that my solution is good only for uncommon cases,=20= > i.e. for hard-core users living on the bleeding edge :-) hehe ;-) -Bertrand