Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 85844 invoked by uid 500); 6 Mar 2003 16:33:17 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 85744 invoked from network); 6 Mar 2003 16:33:16 -0000 Received: from 213-97-200-60.uc.nombres.ttd.es (HELO samburan.intranet.hisitech.com) (213.97.200.60) by daedalus.apache.org with SMTP; 6 Mar 2003 16:33:16 -0000 Received: from hisitech.com ([172.27.64.6]) by samburan.intranet.hisitech.com (8.11.0/8.8.7) with ESMTP id h26GXH031361 for ; Thu, 6 Mar 2003 17:33:17 +0100 Message-ID: <3E67784C.3020809@hisitech.com> Date: Thu, 06 Mar 2003 17:33:16 +0100 From: Santiago Gala User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: es-es, en-us, es, en, ja MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: refering to: http://wiki.cocoondev.org/Wiki.jsp?page=CocoonUpgrade References: <20030305161530.GA19770@kompuart.pl> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Leszek Gawron wrote: > I think it would be nice if cocoon.xconf could be docomposed into several > files. why ? Now when changin cocoon version I have to: > 0. build appropriate version (now it's easy as no javadocs/examples/docs are > included) > 1. edit web.xml file to include database driver class loading (obviously that > connot be moved elsewhere) > 2. edit cocoon.xconf: > - remove standard datasource (that exists there even if you do not include > samples, but include database block) > - add my own datasources > - add my own logicsheets > - add my custom components (I do not have ones but surely will have in the > future) > 3. customize logkit (add my own categories so I can search entries faster) > 4. Default sitemap automounts subsitemaps now so it's enough just to copy the > files > > What's wrong with that ? if you have one additional datasource and one > logicsheet- no problem, but when changing versions in more complicated > environment it may drive you nuts. > > The solution would be to allow users create their own cocoon.xconf files > (residing in the same place as sub-sitemap.xmap that defines local custom > enhancements). The file could be loaded and components initialized the first > time users accesses a subsitemap. Is it at all posible ? Same for logkit? Other possibility would be that you write a patch (diff -u WRT a clean config tree) and store it, to be applied when upgrading, and checked manually (always needed, as configs tend to have new/changed semantics every now and then), even if the patch succeeds. Just my 2 cents. Regards, Santiago > ouzo