Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 30520 invoked from network); 3 Sep 2010 07:48:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Sep 2010 07:48:15 -0000 Received: (qmail 70415 invoked by uid 500); 3 Sep 2010 07:48:12 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 70168 invoked by uid 500); 3 Sep 2010 07:48:09 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 70159 invoked by uid 99); 3 Sep 2010 07:48:08 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 07:48:08 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Sep 2010 07:47:50 +0000 Received: (qmail 30279 invoked by uid 99); 3 Sep 2010 07:47:29 -0000 Received: from localhost.apache.org (HELO [192.168.23.9]) (127.0.0.1) (smtp-auth username markt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 07:47:29 +0000 Message-ID: <4C80A807.1050602@apache.org> Date: Fri, 03 Sep 2010 08:47:19 +0100 From: Mark Thomas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Host Manager. References: <4C8021B5.2030708@christopherschultz.net> In-Reply-To: <4C8021B5.2030708@christopherschultz.net> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 02/09/2010 23:14, Christopher Schultz wrote: > Jeffrey, > > On 9/2/2010 5:40 PM, Jeffrey Janner wrote: >> I'd be happy if it just wrote out a new file based on the settings at >> the time I said save -- damn the comments. >> At least then, it's a pretty straight-forward bit of save code. >> But, if you're one of those who has to save the commentary that's >> already there, then have fun. > > It doesn't seem unreasonable to persist the comments: they're XML > elements, too. If you can write code to parse and insert elements into > an XML tree, you can afford to keep the comments in there, too. There is some code that tries to save server.xml in the 5.5. tree. It was used by the admin app. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org