Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 29145 invoked by uid 500); 30 Jun 2003 12:59:27 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 29134 invoked by uid 500); 30 Jun 2003 12:59:27 -0000 Delivered-To: apmail-cocoon-2.1-cvs@apache.org Received: (qmail 29131 invoked from network); 30 Jun 2003 12:59:27 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 30 Jun 2003 12:59:27 -0000 Received: (qmail 3241 invoked by uid 1260); 30 Jun 2003 12:59:26 -0000 Date: 30 Jun 2003 12:59:26 -0000 Message-ID: <20030630125926.3239.qmail@icarus.apache.org> From: cziegeler@apache.org To: cocoon-2.1-cvs@apache.org Subject: cvs commit: cocoon-2.1/src/documentation/xdocs/installing updating.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cziegeler 2003/06/30 05:59:26 Modified: src/documentation/xdocs/installing updating.xml Log: Enhancing update doc Revision Changes Path 1.11 +71 -60 cocoon-2.1/src/documentation/xdocs/installing/updating.xml Index: updating.xml =================================================================== RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/installing/updating.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- updating.xml 21 Jun 2003 05:24:55 -0000 1.10 +++ updating.xml 30 Jun 2003 12:59:26 -0000 1.11 @@ -15,26 +15,83 @@

Please take your time to read this document completely before trying to upgrade from - a Cocoon 2.0.x version to 2.1 (or above).

+ a Cocoon 2.0.x installation to 2.1 (or above).

This is a brief discussion of the changes between the latest official release @released.version@ and the current development version of Apache Cocoon. You only need this information if you are updating an existing Cocoon installation, or if you want to know what is going on in the development of Cocoon.

-

- The Cocoon team has developed many Avalon components which are not specific to Cocoon and have - been donated to the Avalon Excalibur project and moved out - of Cocoon. This has led to some configuration changes which are described - in this document. +

The Cocoon team took great care in making this new version as compatible as + possible. However in order to achieve even more flexibility, usability and + performance, the internal architecure of Cocoon has been improved. Due to these + improvements it has not been possible to be compatible in every little detail. + But if you follow this document closely and follow the instructions listed here, + you should have running an upgraded version very quickly.

- The internal architecture of cocoon has also been improved to give more flexibility, usability and performance. + The Cocoon team has developed many Avalon components that are not specific to Cocoon + and therefore have been donated to the Avalon Excalibur project and moved out + of Cocoon. This has led to some configuration changes which are also described + in this document.

There are some changes in the sitemap and in the configuration of some components in the sitemap.

+ +

+ The configuration of the pipelines has moved from cocoon.xconf to the sitemap. + To update your installation, you have to remove the "event-pipeline" and "stream-pipeline" section + from your cocoon.xconf and add the map:pipes section to the map:components section + of your sitemap. You can find the pipelines components definition in the sample + main sitemap of Cocoon. Here is an example: +

+ + + ... + + + + + + ... + + ]]> +

You can choose these different pipeline implementations + in the map:pipeline section by specifying their type attribute: +

+ + ... + + + + ... + + .. + + + + ]]> +

This is similar to choosing the type of a generator or any other sitemap + component. If the type attribute is omitted, the default configuration from the map:components + section is used. +

+

The SAXConnectors have been removed, so if you upgrade manually you have to remove + the sax-connectors configuration from cocoon.xconf.

+

So it's not that bad, despite incompatible changes in the Cocoon code there is + little to do to update your Cocoon installation.

+
+ +

The sitemap now provides individual configuration of map:pipeline sections. + You can now define one pipeline using caching, another one not using + caching at all and a third one using a different caching implementation, for example. +

+

Relative paths in FOP serializer's <user-config> are now resolved relatively to the directory that contains the sitemap.

@@ -70,6 +127,13 @@ This effort has been successful except for one change which shouldn't affect anybody (see below).

+ +

In order to reflect the new version, the version information in the cocoon.xconf + has changed from 2.0 to 2.1. +

+

We suggest for updating the cocoon.xconf to start with the new cocoon.xconf and + incorporate your changes instead of trying to migrate the old configuration file.

+

The SourceResolver is now an Avalon component which can be accessed using cocoon.manager.lookup(SourceResolver.ROLE).. @@ -161,59 +225,6 @@ these components have been combined into one: the processing pipeline. The SAXConnectors, which were rarely used, have been removed to avoid overcomponentization.

- -

The sitemap now provides individual configuration of map:pipeline sections. - You can now define one pipeline using caching, another one not using - caching at all and a third one using a different caching implementation, for example. -

-
- -

- The configuration of the pipelines has moved from cocoon.xconf to the sitemap. - To update your installation, you have to remove the "event-pipeline" and "stream-pipeline" section - from your cocoon.xconf and add the map:pipes section to the map:components section - of your sitemap. You can find the pipelines components definition in the sample - main sitemap of Cocoon. Here is an example: -

- - - ... - - - - - - ... - - ]]> -

You can choose these different pipeline implementations - in the map:pipeline section by specifying their type attribute: -

- - ... - - - - ... - - .. - - - - ]]> -

This is similar to choosing the type of a generator or any other sitemap - component. If the type attribute is omitted, the default configuration from the map:components - section is used. -

-

The SAXConnectors have been removed, so if you upgrade manually you have to remove - the sax-connectors configuration from cocoon.xconf.

-

So it's not that bad, despite incompatible changes in the Cocoon code there is - little to do to update your Cocoon installation.

-

The class name for file upload has changed from org.apache.cocoon.components.request.multipart.FilePart to