Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 80056 invoked from network); 8 Dec 2004 11:01:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Dec 2004 11:01:45 -0000 Received: (qmail 81787 invoked by uid 500); 8 Dec 2004 11:01:19 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 81698 invoked by uid 500); 8 Dec 2004 11:01:18 -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 81648 invoked by uid 99); 8 Dec 2004 11:01:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO ehatchersolutions.com) (69.55.225.129) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Dec 2004 03:01:16 -0800 Received: by ehatchersolutions.com (Postfix, from userid 504) id F22A213E200B; Wed, 8 Dec 2004 06:01:11 -0500 (EST) Received: from [192.168.1.101] (va-chrvlle-cad1-bdgrp1-4b-b-169.chvlva.adelphia.net [68.169.41.169]) by ehatchersolutions.com (Postfix) with ESMTP id 6C2D713E2007 for ; Wed, 8 Dec 2004 06:00:48 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <41B6C86B.8090600@scalix.com> References: <20041208064601.24906.qmail@web12702.mail.yahoo.com> <41B6C86B.8090600@scalix.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <75309431-4908-11D9-A6F0-000393A564E6@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: two versioning problems with Lucene Date: Wed, 8 Dec 2004 06:01:05 -0500 To: "Lucene Developers List" X-Mailer: Apple Mail (2.619) X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on javelina X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.0.1 X-Spam-Level: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Dec 8, 2004, at 4:24 AM, John Haxby wrote: > Otis Gospodnetic wrote: > >> Any such custom hack requires maintenance, even >> if it's auto-generated. >> > The corollary of which is that if the version number is in two places, > one of them will be wrong. And this is what I've been alluding to. DRY is a principle I strongly subscribe to - Don't Repeat Yourself. Notice also that the Lucene version number is part of the filename of the JAR: lucene-1.4.3.jar. This is good enough for my purposes of seeing which version of Lucene I'm using visually. I don't rename my JAR files. The WebStart point is well taken though, and an area I'm increasingly involved in. Both of my last projects have involved a WebStart component, however there was no client-side Lucene so I have not dealt with the repackaging of it. Erik --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org