Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 54406 invoked from network); 6 Oct 2006 10:15:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 10:15:10 -0000 Received: (qmail 75569 invoked by uid 500); 6 Oct 2006 10:15:05 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 75455 invoked by uid 500); 6 Oct 2006 10:15:05 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 75401 invoked by uid 99); 6 Oct 2006 10:15:05 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [207.7.158.203] (HELO cocoon.zones.apache.org) (207.7.158.203) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2006 03:15:04 -0700 Message-ID: <3291176.1160129459887.JavaMail.daisy@cocoon.zones.apache.org> Date: Fri, 6 Oct 2006 10:10:59 +0000 (GMT+00:00) From: daisy@cocoon.zones.apache.org To: docs@cocoon.apache.org Subject: [DAISY] Created: Component Configurations Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A new document has been created. http://cocoon.zones.apache.org/daisy/documentation/1259.html Document ID: 1259 Branch: main Language: default Name: Component Configurations Document Type: Cocoon Document Created: 10/6/06 10:10:51 AM Creator (owner): Reinhard P=C3=B6tz State: publish Parts =3D=3D=3D=3D=3D Content ------- Mime type: text/xml Size: 1119 bytes Content:

While older versions of Cocoon used one single big file for the configur= ation of components (the cocoon.xconf), the later versions support to split this configuration file into several files using an include mechanism. You can r= efer to properties from within your configuration files and Cocoon will replace = these accordingly.

Spring Configuration

You can just drop in your Spring bean configuration files into "WEB-INF/spring" and these files are applied automatically.

Legacy Configuration

The main part of Cocoon is configured by using the Avalon configuration = file format. By default all configuration files ending with ".xconf" which are contained in the WEB-INF/xconf directory are included by default. So, you c= an just add your own configuration files there and they are included automatic= ally.

Sitemap Configuration

You can use per sitemap components using includes as well. By default al= l Avalon based configuration files from "config/xconf" and all Spring bean configuration files from "config/spring" are included.

Collections =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The document belongs to the following collections: cdocs-core