From owner-freebsd-java@FreeBSD.ORG Tue Dec 21 19:32:26 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C79B316A4CE for ; Tue, 21 Dec 2004 19:32:26 +0000 (GMT) Received: from ns1.netavail.net (ns1.netavail.net [66.45.229.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19C8643D1F for ; Tue, 21 Dec 2004 19:32:26 +0000 (GMT) (envelope-from brent@mutt.rcfile.org) Received: from mutt.rcfile.org (cpe-065-184-047-009.nc.rr.com [65.184.47.9]) by ns1.netavail.net (Postfix) with ESMTP id 120EC3C063; Tue, 21 Dec 2004 14:32:23 -0500 (EST) Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.13.1/8.13.1) with ESMTP id iBLJWL6I014990; Tue, 21 Dec 2004 14:32:21 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.13.1/8.13.1/Submit) id iBLJWL6Z014989; Tue, 21 Dec 2004 14:32:21 -0500 (EST) (envelope-from brent) Date: Tue, 21 Dec 2004 14:32:21 -0500 From: Brent Verner To: Manfred Riem Message-ID: <20041221193221.GA14792@rcfile.org> References: <200412211740.iBLHeUcw090127@freefall.freebsd.org> <20041221184340.GA14170@rcfile.org> <37919c31041221110775dc0396@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37919c31041221110775dc0396@mail.gmail.com> X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.10-STABLE #31: Thu Nov 18 11:01:01 EST 2004 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTT User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on mutt.rcfile.org cc: freebsd-java@freebsd.org Subject: Re: ports/75348: Tomcat port overwrites server.xml config file X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 19:32:26 -0000 [2004-12-21 13:07] Manfred Riem said: | Why not use server.xml.sample for the original version? | That way one never has to worry ;) And it is the same | scheme as with rc scripts. Yes, except that server.xml and web.xml and other config files are _required_ for a working tomcat installation. I'm not opposed to the .sample approach, but I'm afraid that breaks the principle of least surprise (and this list would be fielding more bug reports because of tomcat not working after an upgrade). If we did this, we'd still have to juggle config files around to, with great certainty, leave the user with a working tomcat after an upgrade. There is likely no way we can have the right thing happen all the time, but I think the chosen solution should be the one that has the best chance of doing the right thing more often than any other. cheers. brent