Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 88058 invoked from network); 7 Dec 2004 19:13:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Dec 2004 19:13:57 -0000 Received: (qmail 52889 invoked by uid 500); 7 Dec 2004 19:13:54 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 52865 invoked by uid 500); 7 Dec 2004 19:13:54 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 52852 invoked by uid 99); 7 Dec 2004 19:13:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from fork12.mail.Virginia.EDU (HELO fork12.mail.virginia.edu) (128.143.2.182) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 11:13:53 -0800 Received: from localhost (localhost [127.0.0.1]) by fork12.mail.virginia.edu (Postfix) with ESMTP id D4D071F52F0 for ; Tue, 7 Dec 2004 14:13:50 -0500 (EST) Received: from fork12.mail.virginia.edu ([127.0.0.1]) by localhost (fork12.mail.virginia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03770-03 for ; Tue, 7 Dec 2004 14:13:50 -0500 (EST) Received: from [128.143.167.108] (d-128-167-108.bootp.Virginia.EDU [128.143.167.108]) by fork12.mail.virginia.edu (Postfix) with ESMTP id 4749D1F5291 for ; Tue, 7 Dec 2004 14:13:50 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <04Dec7.094226pst."58617"@synergy1.parc.xerox.com> References: <04Dec7.094226pst."58617"@synergy1.parc.xerox.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <204101CA-4884-11D9-B02F-000A95BC61B6@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: two versioning problems with Lucene Date: Tue, 7 Dec 2004 14:13:49 -0500 To: "Lucene Developers List" X-Mailer: Apple Mail (2.619) X-UVA-Virus-Scanned: by amavisd-new at fork12.mail.virginia.edu X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Dec 7, 2004, at 12:42 PM, Bill Janssen wrote: >> We could easily store the version number in a Java static variable >> somewhere, but let's first explore whether the manifest information is >> sufficient. > > Will this work in the face of re-packaging? For instance, suppose I > unpack the class files from the jar file and use them directly? Or > then re-package them into a different jar file along with my set of > classes? It would only work if you kept the manifest entries (see Lucene's build file or the manifest itself for details). It could be argued that if you repackage that the version number is not a reliable number, or at least it should also be noted that its not *exactly* the same version of Lucene as the official binary download JAR file. Erik --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org