Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 82007 invoked from network); 24 Feb 2006 09:59:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Feb 2006 09:59:01 -0000 Received: (qmail 13223 invoked by uid 500); 24 Feb 2006 09:58:59 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 13161 invoked by uid 500); 24 Feb 2006 09:58:59 -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 13150 invoked by uid 99); 24 Feb 2006 09:58:59 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO [127.0.0.1]) (209.237.227.194) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 01:58:58 -0800 Message-ID: <43FED9B6.3010305@apache.org> Date: Fri, 24 Feb 2006 11:02:30 +0100 From: Carsten Ziegeler User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [2.2] Simplifying configuration References: <43FEB9B8.6020106@apache.org> <43FEC80A.7010201@dslextreme.com> <43FECD9D.3040501@dslextreme.com> In-Reply-To: <43FECD9D.3040501@dslextreme.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ralph Goers wrote: > Darn. Looking through the archives I see you did this in 2.2. What code > do I need to bring back to 2.1 to get this working? > The code is a little bit tied to the refactoring of the core I did for 2.2; so one solution is to port the whole new (spring) based core to 2.1.x. If you just want to use properties in the cocoon.xconf you can replace the SAXConfigurationHandler from Excalibur (which is used to read the xconf) with an own version that supports replacing properties. In 2.2 we use the ConfigurationBuilder. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/