Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 93176 invoked from network); 25 Jan 2007 09:47:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2007 09:47:29 -0000 Received: (qmail 81434 invoked by uid 500); 25 Jan 2007 09:47:34 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 81030 invoked by uid 500); 25 Jan 2007 09:47:32 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 81019 invoked by uid 99); 25 Jan 2007 09:47:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jan 2007 01:47:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jan 2007 01:47:22 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HA1C2-0003y0-MW for dev@cocoon.apache.org; Thu, 25 Jan 2007 10:46:54 +0100 Received: from mail.seitenbau.net ([217.24.207.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Jan 2007 10:46:54 +0100 Received: from hochleiter by mail.seitenbau.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Jan 2007 10:46:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Nicole Hochleiter Subject: Re: Extension of PropertiesFileModule Date: Thu, 25 Jan 2007 09:46:43 +0000 (UTC) Lines: 32 Message-ID: References: <163f7dd623337ea0c0d9dd443fb26c60@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 217.24.207.26 (Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Mark Lundquist gmail.com> writes: > > [...] > Hi Nicole, > > In terms of the current code base, for overriding one properties file > with another the most parsimonious solution is to instantiate a > ChainMetaModule in cocoon.xconf. Declare it to chain two > PropertiesFileModule instances — first the one for local.properties, > then the one for default.properties. No new classes required > > But maybe it will be felt that supporting multiple properties files in > a single output module is desirable — in that case, it might be better > to just enhance PropertiesFileModule rather than add an additional > class....? > > cheers, > —ml— > > Hi Mark, thanks for your answer and the hint with the ChainMetaModule. Since Cocoon is so big you sometimes don't see, that it already has a solution for your problem, like it is in my case. I didn't know the module and what it can do. But next time I will look for existing solution or ask the mailing list first. :-) Thanks, Nicole