You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jh...@apache.org on 2005/10/19 22:45:07 UTC

svn commit: r326700 [1/3] - in /cocoon/whiteboard/maven2: ./ cocoon-archetype-core/ cocoon-archetype-core/src/ cocoon-archetype-core/src/main/ cocoon-archetype-core/src/main/resources/ cocoon-archetype-core/src/main/resources/META-INF/ cocoon-archetype...

Author: jheymans
Date: Wed Oct 19 13:44:37 2005
New Revision: 326700

URL: http://svn.apache.org/viewcvs?rev=326700&view=rev
Log:
- created maven2 directory for experimenting
- added cocoon-archetype-core

Added:
    cocoon/whiteboard/maven2/
    cocoon/whiteboard/maven2/cocoon-archetype-core/
    cocoon/whiteboard/maven2/cocoon-archetype-core/README.txt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/pom.xml   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/META-INF/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/META-INF/archetype.xml   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/pom.xml   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyAction.java   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyGenerator.java   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MySerializer.java   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyTransformer.java   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/block.xml   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon.xconf   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/log4j.xconf   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/logkit.xconf   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/properties/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/properties/core.properties   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/sitemap-additions/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/sitemap-additions/cocoon-core-sitemap-additions.xconf   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-blocks.xconf   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-core-sitemap.xconf   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-core.xconf   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/not-found.xml   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/icons/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/icons/cocoon.ico   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/images/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/images/cocoon.gif   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/images/powered.gif   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/cocoon-300.gif   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/cocoon-458.gif   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/cocoon-button-powered-158.gif   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/cocoon-buttons-built-126.gif   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/cocoon-buttons-built-158.gif   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/cocoon-buttons-built-88.png   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/cocoon-buttons-powered-126.gif   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/cocoon-buttons-powered-88.png   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/logos/logos.html   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/scripts/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/scripts/main.js   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/scripts/prettycontent.js   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/styles/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/styles/main.css   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/resources/styles/prettycontent.css   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/sitemap.xmap
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/system/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/system/directory2html.xslt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/system/error2html.xslt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/system/exception2html.xslt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/system/linkstatus2html.xslt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/system/sitemap2html.xslt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/system/status2html.xslt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/stylesheets/system/xml2html.xslt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/welcome.xml   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/welcome.xslt   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/wiring.xml   (with props)
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/test/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/test/java/
    cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/test/java/MyGeneratorTest.java   (with props)

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/README.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/README.txt?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/README.txt (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/README.txt Wed Oct 19 13:44:37 2005
@@ -0,0 +1,29 @@
+
+This archetype requires Maven 2.0 release, grab it from 
+http://www.apache.org/dist/maven/binaries/ or a local mirror.
+
+As long as the archetype is not installed on ibiblio you will have to install 
+it locally first. You can do this by running "mvn install" from this directory.
+
+To try it out, go to your favourite temp directory and do :
+
+mvn archetype:create -DarchetypeGroupId=apache-cocoon \
+-DarchetypeArtifactId=cocoon-archetype-core -DgroupId=mynewapplication \
+-DartifactId=theApplication -DarchetypeVersion=2.2-SNAPSHOT
+
+Note: You can replace -DartifactId=theApplication with anything you like, same goes for 
+-DgroupId=mynewapplication as they are effectively the groupId and artifactId for 
+your new project.
+
+
+Upon successful completion, you will have a new directory c:\temp\theApplication that 
+contains the project structure. This is a ready-to-go maven2 project, meaning that executing 
+for example "mvn war:exploded" will create a webapp directory in target\ ready to be mounted.
+Similarly, "mvn war:war" creates a deployable war file. 
+
+
+Ping me on the list in case of probs or feedback.
+
+
+Have fun,
+Jorg
\ No newline at end of file

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/pom.xml?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/pom.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/pom.xml Wed Oct 19 13:44:37 2005
@@ -0,0 +1,6 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>apache-cocoon</groupId>
+  <artifactId>cocoon-archetype-core</artifactId>
+  <version>2.2-SNAPSHOT</version>
+</project>

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/META-INF/archetype.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/META-INF/archetype.xml?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/META-INF/archetype.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/META-INF/archetype.xml Wed Oct 19 13:44:37 2005
@@ -0,0 +1,43 @@
+<archetype>
+  <id>cocoon-core</id>
+  <sources>
+    <source>src/main/java/MyGenerator.java</source>
+    <source>src/main/java/MyTransformer.java</source>
+    <source>src/main/java/MySerializer.java</source>
+    <source>src/main/java/MyAction.java</source>
+  </sources>
+  <testSources>
+    <source>src/test/java/MyGeneratorTest.java</source>
+  </testSources>
+  <resources>
+    <resource>src/main/webapp/sitemap.xmap</resource>
+    <resource>src/main/webapp/not-found.xml</resource>
+    <resource>src/main/webapp/welcome.xml</resource>
+    <resource>src/main/webapp/welcome.xslt</resource>
+    <resource>src/main/webapp/wiring.xml</resource>
+    <resource>src/main/webapp/stylesheets/system/directory2html.xslt</resource>
+    <resource>src/main/webapp/stylesheets/system/error2html.xslt</resource>
+    <resource>src/main/webapp/stylesheets/system/exception2html.xslt</resource>
+    <resource>src/main/webapp/stylesheets/system/linkstatus2html.xslt</resource>
+    <resource>src/main/webapp/stylesheets/system/sitemap2html.xslt</resource>
+    <resource>src/main/webapp/stylesheets/system/status2html.xslt</resource>
+    <resource>src/main/webapp/stylesheets/system/xml2html.xslt</resource>
+    <resource>src/main/webapp/resources/icons/cocoon.ico</resource>
+    <!--<resource>src/main/webapp/resources/images/cocoon.gif</resource>
+      <resource>src/main/webapp/resources/images/powered.gif</resource> -->
+    <resource>src/main/webapp/resources/scripts/main.js</resource>
+    <resource>src/main/webapp/resources/scripts/prettycontent.js</resource>
+    <resource>src/main/webapp/resources/styles/main.css</resource>
+    <resource>src/main/webapp/resources/styles/prettycontent.css</resource>
+    <resource>src/main/webapp/WEB-INF/web.xml</resource>
+    <resource>src/main/webapp/WEB-INF/block.xml</resource>
+    <resource>src/main/webapp/WEB-INF/logkit.xconf</resource>
+    <resource>src/main/webapp/WEB-INF/log4j.xconf</resource>
+    <resource>src/main/webapp/WEB-INF/cocoon.xconf</resource>
+    <resource>src/main/webapp/WEB-INF/properties/core.properties</resource>
+    <resource>src/main/webapp/WEB-INF/xconf/cocoon-blocks.xconf</resource>
+    <resource>src/main/webapp/WEB-INF/xconf/cocoon-core.xconf</resource>
+    <resource>src/main/webapp/WEB-INF/xconf/cocoon-core-sitemap.xconf</resource>
+    <resource>src/main/webapp/WEB-INF/sitemap-additions/cocoon-core-sitemap-additions.xconf</resource>
+  </resources>
+</archetype>
\ No newline at end of file

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/META-INF/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/pom.xml?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/pom.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/pom.xml Wed Oct 19 13:44:37 2005
@@ -0,0 +1,44 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <!-- the groupId of your application -->
+  <groupId>${groupId}</groupId>
+  <!-- the artifactId of your application -->
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jar</packaging>
+  <!-- the artifact version -->
+  <version>${version}</version>
+  <name>The Application</name>
+  <url>http://cocoon.apache.org</url>
+  <build>
+    <sourceDirectory>src/main/java</sourceDirectory>
+    <testSourceDirectory>src/test/java</testSourceDirectory>
+  </build>
+  <dependencies>
+      <dependency>
+        <groupId>apache-cocoon</groupId>
+        <artifactId>cocoon-core</artifactId>
+        <version>2.2-SNAPSHOT</version>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>3.8.1</version>
+        <scope>test</scope>
+      </dependency>
+  </dependencies>
+  <repositories>
+    <!-- Apache specific maven repositories available to all blocks -->
+    <repository>
+      <id>apache</id>
+      <name>Apache Java Repository</name>
+      <url>http://www.apache.org/dist/java-repository</url>
+      <layout>legacy</layout>
+    </repository>
+    <repository>
+      <id>apache-cvs</id>
+      <name>Apache CVS Repository</name>
+      <url>http://cvs.apache.org/repository</url>
+      <layout>legacy</layout>
+    </repository>
+  </repositories>  
+</project>
\ No newline at end of file

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyAction.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyAction.java?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyAction.java (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyAction.java Wed Oct 19 13:44:37 2005
@@ -0,0 +1,9 @@
+package $package;
+
+/**
+ * Hello world!
+ *
+ */
+public class MyAction {
+
+}
\ No newline at end of file

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyAction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyGenerator.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyGenerator.java?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyGenerator.java (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyGenerator.java Wed Oct 19 13:44:37 2005
@@ -0,0 +1,9 @@
+package $package;
+
+/**
+ * Hello world!
+ *
+ */
+public class MyGenerator {
+
+}
\ No newline at end of file

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyGenerator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MySerializer.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MySerializer.java?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MySerializer.java (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MySerializer.java Wed Oct 19 13:44:37 2005
@@ -0,0 +1,9 @@
+package $package;
+
+/**
+ * Hello world!
+ *
+ */
+public class MySerializer {
+
+}
\ No newline at end of file

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MySerializer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyTransformer.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyTransformer.java?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyTransformer.java (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyTransformer.java Wed Oct 19 13:44:37 2005
@@ -0,0 +1,9 @@
+package $package;
+
+/**
+ * Hello world!
+ *
+ */
+public class MyTransformer {
+
+}
\ No newline at end of file

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/java/MyTransformer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/block.xml?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/block.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/block.xml Wed Oct 19 13:44:37 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+       xsi:schemaLocation="http://apache.org/cocoon/blocks/cob/1.0 cob-schema-1.0.xsd"
+       id="http://cocoon.apache.org/blocks/webapp/1.0">
+  <name>webapp</name>
+  <description href="http://cocoon.apache.org/blocks/webapp/1.0">
+    Cocoon core samples
+  </description>
+  <state href="http://cocoon.apache.org/blocks/wbapp/1.0/state.html" 
+         community="supported" 
+         interfaces="unstable" 
+         implementation="unstable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  <components>
+    <include src="context://WEB-INF/xconf/cocoon-core.xconf"/>
+    <include src="context://WEB-INF/xconf/cocoon-core-sitemap.xconf"/>
+    <include src="context://WEB-INF/sitemap-additions/cocoon-core-sitemap-additions.xconf"/>
+  </components>
+  <sitemap src="sitemap.xmap"/>
+</block>

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/block.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon.xconf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon.xconf?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon.xconf (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon.xconf Wed Oct 19 13:44:37 2005
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- CVS $Id: cocoon.xconf 125929 2005-01-21 14:06:49Z cziegeler $ -->
+<cocoon version="2.2">
+
+<!--+
+    | This is the main Apache Cocoon configuration file.
+    | It contains includes for the core components and for
+    | each of the blocks that are to be loaded.
+    |
+    | You can add your own components here or include some
+    | additional external files.
+    +-->
+
+  <include src="context://WEB-INF/xconf/cocoon-core.xconf"/>
+
+  <!--+
+      | Include all configuration files ending with ".xconf" 
+      | from the xconf directory.
+      +-->
+  <include dir="context://WEB-INF/xconf" pattern="*.xconf"/>
+
+  <!--+
+      | Include all configuration files ending with ".samplesxconf" 
+      | from the xconf directory.
+      +-->
+  <include dir="context://WEB-INF/xconf" pattern="*.samplesxconf"/>
+</cocoon>

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/cocoon.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/log4j.xconf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/log4j.xconf?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/log4j.xconf (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/log4j.xconf Wed Oct 19 13:44:37 2005
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+
+    <!-- This is a sample configuration for log4j.
+         It simply just logs everything into a single
+         log file.
+         Note, that you can use properties for value substitution.
+    -->
+    <appender name="COCOON_DEFAULT" class="org.apache.log4j.FileAppender">
+        <param name="File"   value="${context-root}/WEB-INF/logs/log4j.log" />
+        <param name="Append" value="false" />	    	
+        <layout class="org.apache.log4j.PatternLayout">
+            <param name="ConversionPattern" value="%t %-5p %c{2} - %m%n"/>
+        </layout>	    
+    </appender>
+
+    <root>
+      <priority value ="debug" />
+      <appender-ref ref="COCOON_DEFAULT" />
+    </root>
+</log4j:configuration>

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/log4j.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/logkit.xconf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/logkit.xconf?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/logkit.xconf (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/logkit.xconf Wed Oct 19 13:44:37 2005
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--+
+    | This is the cocoon logkit configuration file.
+    |
+    | By default, Cocoon uses Excalibur logkit for logging, but it also
+    | supports Log4J. In case you want to use Log4J, you have to modify
+    | a configuration property in the 'WEB-INF/web.xml' file (search
+    | for log4j and you find it)
+    |
+    | The comments below should get you started in adapting the logs
+    | for your needs, but if you want to know more please visit
+    |
+    |   http://wiki.apache.org/cocoon/ConfiguringTheLogs
+    |
+    | $Id: logkit.xconf 291398 2005-09-25 09:36:19Z danielf $
+    +-->
+<logkit>
+
+  <!--+
+      | Factories are responsible to create the consumers of the log events,
+      | the targets. Here we have configured just a few, the main cocoon
+      | target factory (that prints to a file) and the servlet target factory
+      | (that prints back to the servlet container log stream) but  for more
+      | info on the available logkit factories, please consult
+      | http://excalibur.apache.org/apidocs/org/apache/avalon/excalibur/logger/factory/package-summary.html
+      +-->
+  <factories>
+    <factory type="cocoon" class="org.apache.cocoon.util.log.CocoonTargetFactory"/>
+    <!--factory type="servlet" class="org.apache.avalon.excalibur.logger.factory.ServletTargetFactory"/-->
+    <!--factory type="stream" class="org.apache.avalon.excalibur.logger.factory.StreamTargetFactory"/-->
+  </factories>
+
+  <!--+
+      | Targets are the instances of the consumers of the log events and various
+      | instances can be configured and referenced via their 'id'.
+      | Note how the element name of the target indicates what type of factory
+      | that is created with.
+      +-->
+  <targets>
+
+    <cocoon id="main">
+      <!--+
+          | <filename> is the absolute location of the log file, note how you can
+          | use the ${context-root} variable to indicate the root of the
+          | cocoon web application (the directory that contains WEB-INF, that is)
+          +-->
+      <filename>${context-root}/WEB-INF/logs/cocoon.log</filename>
+
+      <!--+
+          | <format> indicates how the log event should be serialized.
+          | Note that newlines are *not* automatic: you have to specify the
+          | newline as '\n' or everything will appear on a single line!
+          |
+          | The first format below is verbose: it includes error stacktraces.
+          | If you want something even more verbose use %{throwable} which will
+          | show a full chain of exceptions. Using the second format won't
+          | output stacktraces at all.
+          |
+          | Please mind that the default format logs request uri along with
+          | query string. This may log confidential data (passwords etc.).
+          +-->
+      <format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n%{rootThrowable}</format>
+      <!--format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n%</format-->
+
+      <!--+
+          | <append> if set to 'true' will make cocoon append the events
+          | to the existing file, if set to 'false' cocoon will override
+          | the existing ones at every new start.
+          +-->
+      <append>false</append>
+
+      <!--+
+          | <rotation> allows you to rotate log files one they meet certain
+          | criteria. If you uncomment the example below, the log files will
+          | be rotated once they are a day old or bigger than 100 Mb.
+      <rotation type="unique" pattern="yyyyMMdd" suffix=".log">
+        <or>
+          <size>100m</size>
+          <time>24:00:00</time>
+        </or>
+      </rotation>
+          +-->
+    </cocoon>
+
+    <cocoon id="deprecation">
+      <filename>${context-root}/WEB-INF/logs/deprecation.log</filename>
+      <format type="cocoon">%5.5{priority} %{time} [%{category}] (%{uri}%{query}) %{thread}/%{class:short}: %{message}\n</format>
+      <append>false</append>
+    </cocoon>
+
+    <!--+
+        | These targets are used for the more elaborate examples below.
+        |
+    <servlet id="servlet">
+      <format type="extended">%5.5{priority} %5.5{time} [%8.8{category}] (%{context}): %{message}\n</format>
+    </servlet>
+
+    <stream id="console">
+      <stream>System.out</stream>
+      <format type="extended">%5.5{priority} %5.5{time} [%8.8{category}] (%{context}): %{message}\n</format>
+    </stream>
+        +-->
+  </targets>
+
+  <!--+
+      | Categories 'route' log events to particular targets, filtering
+      | on importance level (one of DEBUG, INFO, WARN, ERROR, FATAL_ERROR, 
+      | ordered from most verbose to least verbose) and on the 'category'
+      | used by the producer of the log event to further classify it.
+      | Some of these log categories are hardwired in the code and some
+      | others are user-selectable, for example for sitemap components
+      | where you can specify the category in their sitemap declaration.
+      |
+      | Category names can be dot-separated (example, 'sitemap.generator.file')
+      | and the variuos pieces are treated as 'sub-categories'. By nesting
+      | the <category> element you achieve sub-category filtering and you can
+      | even have different log level filtering per category and subcategory. 
+      | (See the comments below for an example of this)
+      |
+      | NOTE: not all subcategories are defined in this file. Not defined
+      | subcategories will be created automatically and they will inherit 
+      | the settings of the parent subcategory. When defining a subcategory 
+      | manually, it is required that you specify the log target, because 
+      | they are not inherited in this case.
+      +-->
+  <categories>
+
+    <!--+
+        | This is the main category. The empty name attribute indicates that
+        | this rule will match all log events from all categories.
+        +-->
+    <category log-level="INFO" name="">
+      <log-target id-ref="main"/>
+    </category>
+
+    <!--+
+        | This is the deprecation category. If this category is set to WARN
+        | the log will contain messages about deprecated stuff used by
+        | your application.
+        +-->
+    <category log-level="WARN" name="deprecation">
+      <log-target id-ref="deprecation"/>
+    </category>
+
+    <!--+
+        | This is a little more elaborate example, where some of the logs are 
+        | sent to the log file and some others (the ones related to the sitemap), 
+        | are sent to the servlet container (where they could be further relayed 
+        | to the console, for example)
+        |
+    <category log-level="ERROR" name="">
+      <category log-level="DEBUG" name="sitemap">
+        <log-target id-ref="servlet"/>
+      </category>
+      <category log-level="INFO" name="access">
+        <log-target id-ref="console"/>
+      </category>
+      <log-target id-ref="core"/>
+    </category>
+        +-->
+
+  </categories>
+
+  <!--+
+      | Include logging confs from different blocks 
+      +-->
+  <include dir="context://WEB-INF/xconf" pattern="*.logkit"/>
+
+</logkit>

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/logkit.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/properties/core.properties
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/properties/core.properties?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/properties/core.properties (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/properties/core.properties Wed Oct 19 13:44:37 2005
@@ -0,0 +1,175 @@
+#  Copyright 2005 The Apache Software Foundation
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+# This file contains the default settings for Cocoon.
+# You should NOT change this file directly. Create your own properties
+# file and put it in the sub directories for the mode you are running
+# Cocoon in.
+
+# This parameter points to the main configuration file for Cocoon.
+org.apache.cocoon.configuration=/WEB-INF/cocoon.xconf
+
+# Delay between reload checks for the configuration in ms.
+# The check is only performed if reloading is turned on!
+org.apache.cocoon.reload-delay=1000
+
+# Allow reinstantiating (reloading) of the cocoon instance. If this is
+# set to "yes" or "true", a new cocoon instance can be created using
+# the request parameter "cocoon-reload". It also enables that Cocoon is
+# reloaded when cocoon.xconf changes. Default is no for security reasons.
+org.apache.cocoon.reloading=no
+
+# Turn on reloading for specific parts:
+#org.apache.cocoon.reloading.sitemap=yes
+#org.apache.cocoon.reload-delay.sitemap=5000
+#org.apache.cocoon.reloading.config=yes
+
+# This parameter switches the logging system from LogKit to Log4J (or
+# any other logging implementation) for Cocoon.
+# Log4J has to be configured already.
+# org.apache.cocoon.logging.manager.class=org.apache.avalon.excalibur.logger.Log4JLoggerManager
+
+# This parameter indicates the configuration file of the logging
+# system, e.g. LogKit or Log4J.
+org.apache.cocoon.logging.configuration=WEB-INF/logkit.xconf
+
+# This parameter indicates the category id of the logger
+# configuration used by the environment Cocoon runs in (CLI, Servlet etc.).
+org.apache.cocoon.logging.category.environment=access
+
+# This parameter indicates the category id of the logger from the
+# logging system for the Cocoon engine.
+# This logger is used for all components described in the cocoon.xconf
+# and sitemap.xmap file not having specified a logger with the
+# logger="..." attribute in the component configuration file.
+org.apache.cocoon.logging.category.cocoon=core
+
+# This parameter indicates the log level to use throughout startup of the
+# system. As soon as the logging system is set up, the setting of the
+# logging system is used instead!
+# Available levels are:
+#       DEBUG:        prints all level of log messages.
+#       INFO:         prints all level of log messages except DEBUG ones.
+#       WARN:         prints all level of log messages except DEBUG and INFO ones.
+#       ERROR:        prints all level of log messages except DEBUG, INFO and WARN ones.
+#       FATAL_ERROR:  prints only log messages of this level
+org.apache.cocoon.logging.bootstrap.loglevel=WARN
+
+# Causes all files in multipart requests to be processed.
+# Default is true but the maximum allowed size is kept small for security reasons.
+# Unsupported values will be interpreted as false.
+org.apache.cocoon.uploads.enable=true
+
+# This parameter allows to specify where Cocoon should put uploaded files.
+# The path specified can be either absolute or relative to the context
+# path of the servlet. On windows platform, absolute directory must start
+# with volume: C:\Path\To\Upload\Directory
+#
+# The default directory is "upload-dir" in the work-directory
+#org.apache.cocoon.uploads.directory=WEB-INF/work/upload-dir
+
+# Causes all files in multipart requests to be saved to upload-dir.
+# Default is true for security reasons.
+# Unsupported values will be interpreted as false.
+org.apache.cocoon.uploads.autosave=true
+
+# Specify handling of name conflicts when saving uploaded files to disk.
+# Acceptable values are deny, allow, rename (default). Files are renamed
+# x_filename where x is an integer value incremented to make the new
+# filename unique.
+org.apache.cocoon.uploads.overwrite=rename
+
+# Specify maximum allowed size of the upload. Defaults to 10 Mb.
+# Set here to a very low 100 kb to allow samples to run.
+org.apache.cocoon.uploads.maxsize=102400
+
+# This parameter allows to specify where Cocoon should create its page
+# and other objects cache. The path specified can be either absolute or
+# relative to the context path of the servlet. On windows platform,
+# absolute directory must start with volume: C:\Path\To\Cache\Directory
+#
+# The default directory is "cache-dir" in the work-directory.
+#org.apache.cocoon.cache.directory=WEB-INF/work/cache-dir
+
+# This parameter allows to specify where Cocoon should put it's
+# working files. The path specified is either absolute or relative
+# to the context path of the Cocoon servlet. On windows platform,
+# absolute directory must start with volume: C:\Path\To\Work\Directory
+#
+# The default directory is "cocoon-files" directory in the servlet
+# context's temp directory (context property javax.servlet.context.tempdir).
+#org.apache.cocoon.work.directory=WEB-INF/work
+
+# This parameter is used to list classes that should be loaded at
+# initialization time of the servlet. For example, JDBC Drivers used need to
+# be named here. Additional entries may be inserted here during build
+# depending on your build properties.
+#
+# For parent ServiceManager sample:
+#org.apache.cocoon.classloader.load.classes.parentcm=org.apache.cocoon.samples.parentcm.Configurator
+#
+# For IBM WebSphere:
+#org.apache.cocoon.classloader.load.classes.websphere=com.ibm.servlet.classloader.Handler
+
+# This parameter allows to specify additional directories or jars
+# which Cocoon should put into it's own classpath.
+# Note that absolute
+# pathes are taken as such but relative pathes are rooted at the context
+# root of the Cocoon servlet.
+#org.apache.cocoon.extra.classpaths.one=WEB-INF/extra-classes1:/[YOU-ABSOLUTE-PATH-TO]/own.jar
+
+# This parameter allows you to select the parent service manager.
+# The class will be instantiated via the constructor that takes a single
+# String as a parameter. That String will be equal to the text after the '/'.
+#
+# Cocoon honors the LogEnabled, Initializable and Disposable interfaces for
+# this class, if it implements them.
+#
+# If you uncomment the following lines the parent CM is set to the Parent CM
+# sample, which will look up a configuration via JNDI at
+# org/apache/cocoon/samples/parentcm/ParentCMConfiguration and use it.
+#org.apache.cocoon.parentservicemanager=org.apache.cocoon.samples.parentcm.ParentServiceManager/org/apache/cocoon/samples/parentcm/ParentCMConfiguration
+
+# If you set this parameter to 'true' or 'yes', Cocoon will add processing
+# time to the end of each response. Value 'hide' adds processing time as an
+# HTML comment. By default, processing time is not added (corresponds to
+# value 'no').
+# NOTE: If you use this feature, Cocoon might generated a wrong content
+# length header in the response. This is due to the internal processing
+# of Readers and the Caching. So, this might be the reason if you get
+# a warning about a wrong content length.
+#  See http://issues.apache.org/bugzilla/show_bug.cgi?id=17370.
+#org.apache.cocoon.showtime=true
+#org.apache.cocoon.hideshowtime=true
+
+# Whether or not the X-Cocoon-Version response header will be included.
+# This is true by default, but there may be some circumstances when it
+# is not desired (e.g. "information hiding" for added security, or if
+# using jsp:include with Cocoon-generated pages produces a "response is
+# already committed" error).
+org.apache.cocoon.showcocoonversion=true
+
+# If true or not set, this class will try to catch and handle all Cocoon
+# exceptions. If false, it will rethrow them to the servlet container.
+org.apache.cocoon.manageexceptions=true
+
+# Set form encoding. This will be the character set used to decode request
+# parameters. If not set the ISO-8859-1 encoding will be assumed.
+org.apache.cocoon.formencoding=ISO-8859-1
+
+# This property allows to set system properties.
+# Everything after 'org.apache.cocoon.system.properties.' builds
+# the name of the system property and the value is the value
+# to be set.
+#org.apache.cocoon.system.properties.org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/properties/core.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/sitemap-additions/cocoon-core-sitemap-additions.xconf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/sitemap-additions/cocoon-core-sitemap-additions.xconf?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/sitemap-additions/cocoon-core-sitemap-additions.xconf (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/sitemap-additions/cocoon-core-sitemap-additions.xconf Wed Oct 19 13:44:37 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--+
+    | This file defines some additional components for the sitemap.
+    |
+    | SVN $Id: cocoon-core-sitemap-additions.xconf 293459 2005-10-03 22:00:31Z danielf $
+    +-->
+
+<map:components xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:generators>
+  	<map:generator label="content" logger="sitemap.generator.mp3directory" name="mp3directory" src="org.apache.cocoon.generation.MP3DirectoryGenerator"/>
+  </map:generators>
+
+  <map:transformers>
+    <map:transformer logger="sitemap.transformer.jpath" name="jpath" src="org.apache.cocoon.transformation.JPathTransformer"/>
+    <map:transformer logger="sitemap.transformer.filter" name="filter" src="org.apache.cocoon.transformation.FilterTransformer"/>
+  </map:transformers>
+
+  <map:serializers>
+    <map:serializer logger="sitemap.serializer.vrml" mime-type="model/vrml" name="vrml" src="org.apache.cocoon.serialization.TextSerializer"/>
+  </map:serializers>
+
+</map:components>
\ No newline at end of file

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/sitemap-additions/cocoon-core-sitemap-additions.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml Wed Oct 19 13:44:37 2005
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--+
+    | This is the Cocoon web-app configurations file
+    +-->
+
+<!DOCTYPE web-app
+    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+    "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+
+  <!-- Context Configuration ========================================== -->
+
+  <!--+
+      | Set a context property useful to allow you to ProxyPass your
+      | web application mounted to a different URI without loosing the
+      | ability to do cookie-based sessions.
+      | WARNING: this is Jetty specific!
+      +-->
+  <!--context-param>
+    <param-name>org.mortbay.jetty.servlet.SessionPath</param-name>
+    <param-value>/some/path/to/your/webapp</param-value>
+    <description>An override of the session cookie path</description>
+   </context-param-->
+
+  <!-- Servlet Configuration ========================================== -->
+
+  <servlet>
+    <servlet-name>Cocoon</servlet-name>
+    <display-name>Cocoon</display-name>
+    <description>Cocoon</description>
+
+    <!--
+      The regular servlet class (trusts the servlet container classloader)
+      -->
+    <servlet-class>org.apache.cocoon.servlet.CocoonServlet</servlet-class>
+    <!--
+      The paranoid servlet class, to be used instead of regular one when
+      having conflicts between libraries used by Cocoon and the servlet
+      container.
+    <servlet-class>org.apache.cocoon.servlet.ParanoidCocoonServlet</servlet-class>
+    <init-param>
+      <param-name>classloader-class</param-name>
+      <param-value>org.apache.commons.javaflow.ContinuationCompilingClassLoader</param-value>
+    </init-param>
+    -->
+
+    <!--
+      Set encoding used by the container. If not set the ISO-8859-1 encoding
+      will be assumed.
+      Since the servlet specification requires that the ISO-8859-1 encoding
+      is used (by default), you should never change this value unless
+      you have a buggy servlet container.
+    -->
+    <init-param>
+      <param-name>container-encoding</param-name>
+      <param-value>ISO-8859-1</param-value>
+    </init-param>
+
+    <!--
+      This parameter allows you to startup Cocoon2 immediately after startup
+      of your servlet engine.
+    -->
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+
+  <!-- URL space mappings ============================================= -->
+
+  <!--
+    Cocoon handles all the URL space assigned to the webapp using its sitemap.
+    It is recommended to leave it unchanged. Under some circumstances though
+    (like integration with proprietary webapps or servlets) you might have
+    to change this parameter.
+  -->
+  <servlet-mapping>
+    <servlet-name>Cocoon</servlet-name>
+    <url-pattern>/</url-pattern>
+  </servlet-mapping>
+
+  <!--
+    Some servlet engines (Tomcat) have defaults which are not overriden
+    by '/' mapping, but must be overriden explicitly.
+  -->
+  <servlet-mapping>
+    <servlet-name>Cocoon</servlet-name>
+    <url-pattern>*.jsp</url-pattern>
+  </servlet-mapping>
+  <!--
+    Some servlet engines (WebLogic) have defaults which are not overriden
+    by '/' mapping, but must be overriden explicitly.
+  -->
+  <servlet-mapping>
+    <servlet-name>Cocoon</servlet-name>
+    <url-pattern>*.html</url-pattern>
+  </servlet-mapping>
+
+  <!-- various MIME type mappings ====================================== -->
+
+  <mime-mapping>
+    <extension>css</extension>
+    <mime-type>text/css</mime-type>
+  </mime-mapping>
+
+  <mime-mapping>
+    <extension>xml</extension>
+    <mime-type>text/xml</mime-type>
+  </mime-mapping>
+
+  <mime-mapping>
+    <extension>xsl</extension>
+    <mime-type>text/xml</mime-type>
+  </mime-mapping>
+
+  <mime-mapping>
+    <extension>xconf</extension>
+    <mime-type>text/xml</mime-type>
+  </mime-mapping>
+
+  <mime-mapping>
+    <extension>xmap</extension>
+    <mime-type>text/xml</mime-type>
+  </mime-mapping>
+
+  <mime-mapping>
+    <extension>ent</extension>
+    <mime-type>text/plain</mime-type>
+  </mime-mapping>
+
+  <mime-mapping>
+    <extension>grm</extension>
+    <mime-type>text/plain</mime-type>
+  </mime-mapping>
+
+
+  <!-- Sample environment entry for the NamingInputModule -->
+  <env-entry>
+    <env-entry-name>greeting</env-entry-name>
+    <env-entry-value>Hello, World</env-entry-value>
+    <env-entry-type>java.lang.String</env-entry-type>
+  </env-entry>
+
+</web-app>

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-blocks.xconf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-blocks.xconf?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-blocks.xconf (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-blocks.xconf Wed Oct 19 13:44:37 2005
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--+
+    |
+    | SVN $Id: cocoon-blocks.xconf 192973 2005-06-22 18:41:29Z danielf $
+    +-->
+<components>
+  <source-factories>
+    <component-instance class="org.apache.cocoon.components.source.impl.BlocksSourceFactory" name="blocks"/>
+  </source-factories>
+
+  <component role="org.apache.cocoon.components.blocks.BlocksManager"
+             class="org.apache.cocoon.components.blocks.BlocksManager"
+             file="wiring.xml"/>
+</components>

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-blocks.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-core-sitemap.xconf
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-core-sitemap.xconf?rev=326700&view=auto
==============================================================================
--- cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-core-sitemap.xconf (added)
+++ cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-core-sitemap.xconf Wed Oct 19 13:44:37 2005
@@ -0,0 +1,430 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--+
+    | This file defines core components for the sitemap.
+    |
+    | SVN $Id: cocoon-core-sitemap.xconf 293459 2005-10-03 22:00:31Z danielf $
+    +-->
+
+<map:components xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+ <!--+
+     | All pipelines consist at least of two components: a generator, that
+     | produces the content, and a serialiser, that delivers the content to
+     | the client.
+     |
+     | More precisely: a generator generates SAX events and a serializer
+     | consumes these events and produces a byte stream.
+     |
+     | Some things to note here: each generator has a unique name, this
+     | name is mapped to a java class, one name is declared as the default
+     | generator. Each generator may have additional configurations as
+     | child elements.
+     |
+     | Additional attributes are targeted at the component manager. The optional
+     | "label" attribute is relevant for the view concept below. The optional
+     | "logger" attribute defines the logging category where messages produced
+     | by a component should go. If there's no "logger" attribute, the category
+     | used is the one defined for the "sitemap" component in cocoon.xconf.
+     |
+     | We have chosen in this sitemap to use a different logging category
+     | for each component, which allows fine-grained classification of log
+     | messages. But you are free to use any category you want.
+     |
+     | It is possible to have the same java class declared as different
+     | generators by using different names. No configuration options are
+     | shared between these instances, however.
+     |
+     | All components follow this scheme.
+     +-->
+ <map:generators default="file">
+   <map:generator label="content" logger="sitemap.generator.file" name="file" pool-max="32" src="org.apache.cocoon.generation.FileGenerator"/>
+   <map:generator label="content" logger="sitemap.generator.directory" name="directory" pool-max="16" src="org.apache.cocoon.generation.DirectoryGenerator"/>
+   <map:generator label="content" logger="sitemap.generator.xpathdirectory" name="xpathdirectory" src="org.apache.cocoon.generation.XPathDirectoryGenerator"/>
+   <map:generator label="content" logger="sitemap.generator.imagedirectory" name="imagedirectory" src="org.apache.cocoon.generation.ImageDirectoryGenerator"/>
+   <map:generator label="content" logger="sitemap.generator.request" name="request" pool-max="16" src="org.apache.cocoon.generation.RequestGenerator"/>
+   <map:generator label="content" logger="sitemap.generator.stream" name="stream" pool-max="16" src="org.apache.cocoon.generation.StreamGenerator"/>
+   <map:generator label="content" logger="sitemap.generator.status" name="status" pool-max="16" src="org.apache.cocoon.generation.StatusGenerator"/>
+   <!-- The notifying generator can only be used in a <handle-errors> section -->
+   <map:generator name="notifying" src="org.apache.cocoon.sitemap.NotifyingGenerator"/>
+   <!-- The exception generator can only be used in a <handle-errors> section : it produces an XML
+        representation of the exception that caused the error handler to be executed -->
+   <map:generator name="exception" src="org.apache.cocoon.generation.ExceptionGenerator"/>
+
+   <!--
+     - Virtual Pipeline Generator: Composed of other pipeline components.
+     -->
+   <map:generator name="virtual" src="org.apache.cocoon.generation.VirtualPipelineGenerator">
+     <map:generate src="welcome.xml"/>
+     <map:transform src="welcome.xslt">
+       <map:parameter name="contextPath" value="{request:contextPath}"/>
+     </map:transform>
+   </map:generator>
+ </map:generators>
+
+
+ <!--+
+     | Transformers can be placed inside the pipeline between the generator
+     | and the serializer. You may have as many transformers as you
+     | like. Transformers consume SAX events and emit SAX events.
+     |
+     | The "xslt" transformer is an example of a component with additional
+     | configuration.
+     +-->
+ <map:transformers default="xslt">
+
+   <!-- NOTE: This is the default XSLT processor. -->
+   <map:transformer logger="sitemap.transformer.xslt" name="xslt" pool-max="32" src="org.apache.cocoon.transformation.TraxTransformer">
+     <use-request-parameters>false</use-request-parameters>
+     <use-session-parameters>false</use-session-parameters>
+     <use-cookie-parameters>false</use-cookie-parameters>
+     <xslt-processor-role>xalan</xslt-processor-role>
+     <check-includes>true</check-includes>
+   </map:transformer>
+
+   <!-- NOTE: This is the same as the default processor but with a different name (for compatibility) -->
+   <map:transformer logger="sitemap.transformer.xalan" name="xalan" pool-max="32" src="org.apache.cocoon.transformation.TraxTransformer">
+     <use-request-parameters>false</use-request-parameters>
+     <use-session-parameters>false</use-session-parameters>
+     <use-cookie-parameters>false</use-cookie-parameters>
+     <xslt-processor-role>xalan</xslt-processor-role>
+     <check-includes>true</check-includes>
+   </map:transformer>
+
+   <!-- NOTE: You can also try XSLTC as the default processor. If you use Xalan extensions, use the "xalan" transformer. -->
+   <map:transformer logger="sitemap.transformer.xsltc" name="xsltc" pool-max="32" src="org.apache.cocoon.transformation.TraxTransformer">
+     <use-request-parameters>false</use-request-parameters>
+     <use-session-parameters>false</use-session-parameters>
+     <use-cookie-parameters>false</use-cookie-parameters>
+     <xslt-processor-role>xsltc</xslt-processor-role>
+     <check-includes>true</check-includes>
+   </map:transformer>
+
+   <map:transformer logger="sitemap.transformer.include" name="include" pool-max="16" src="org.apache.cocoon.transformation.IncludeTransformer"/>
+   <map:transformer logger="sitemap.transformer.xinclude" name="xinclude" pool-max="16" src="org.apache.cocoon.transformation.XIncludeTransformer"/>
+   <map:transformer logger="sitemap.transformer.cinclude" name="cinclude" pool-max="16" src="org.apache.cocoon.transformation.CIncludeTransformer"/>
+   <map:transformer logger="sitemap.transformer.encodeURL" name="encodeURL" src="org.apache.cocoon.transformation.EncodeURLTransformer"/>
+   <map:transformer logger="sitemap.transformer.write-source" name="write-source" src="org.apache.cocoon.transformation.SourceWritingTransformer"/>
+   <map:transformer logger="sitemap.transformer.writeDOMsession" name="writeDOMsession" src="org.apache.cocoon.transformation.WriteDOMSessionTransformer"/>
+   <map:transformer logger="sitemap.transformer.readDOMsession" name="readDOMsession" src="org.apache.cocoon.transformation.ReadDOMSessionTransformer"/>
+   <map:transformer logger="sitemap.transformer.log" name="log" pool-max="16" src="org.apache.cocoon.transformation.LogTransformer"/>
+   <map:transformer logger="sitemap.transformer.paginate" name="paginate" src="org.apache.cocoon.transformation.pagination.Paginator"/>
+ </map:transformers>
+
+
+ <!--+
+     | Serializers consume SAX events and produce a character stream. Every
+     | pipeline needs to be terminated by a serializer.
+     +-->
+ <map:serializers default="html">
+   <map:serializer logger="sitemap.serializer.links" name="links" src="org.apache.cocoon.serialization.LinkSerializer"/>
+   <map:serializer logger="sitemap.serializer.xml" mime-type="text/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer"/>
+
+   <map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html" pool-max="32" src="org.apache.cocoon.serialization.HTMLSerializer">
+     <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
+     <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
+   </map:serializer>
+
+   <map:serializer logger="sitemap.serializer.wml" mime-type="text/vnd.wap.wml" name="wml" src="org.apache.cocoon.serialization.XMLSerializer">
+    <doctype-public>-//WAPFORUM//DTD WML 1.1//EN</doctype-public>
+    <doctype-system>http://www.wapforum.org/DTD/wml_1.1.xml</doctype-system>
+    <encoding>ASCII</encoding>
+    <omit-xml-declaration>yes</omit-xml-declaration>
+   </map:serializer>
+
+   <map:serializer logger="sitemap.serializer.chtml" mime-type="text/html" name="chtml" src="org.apache.cocoon.serialization.HTMLSerializer">
+    <!--+
+        | Compact HTML for Small Information Appliances,
+        | based on http://www.w3.org/TR/1998/NOTE-compactHTML-19980209/
+        + -->
+    <doctype-public>-//W3C//DTD Compact HTML 1.0 Draft//EN</doctype-public>
+   </map:serializer>
+
+   <map:serializer logger="sitemap.serializer.svgxml" mime-type="image/svg+xml" name="svgxml" src="org.apache.cocoon.serialization.XMLSerializer">
+    <doctype-public>-//W3C//DTD SVG 1.0//EN</doctype-public>
+    <doctype-system>http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd</doctype-system>
+   </map:serializer>
+
+   <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml" pool-max="64" src="org.apache.cocoon.serialization.XMLSerializer">
+     <!--+
+         | You can choose from Strict, Transitional, or Frameset XHTML.
+         | For Strict XHTML set doctype to:
+         |   <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
+         |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
+         | For Transitional XHTML set doctype to:
+         |   <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public>
+         |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
+         | For Frameset XHTML set doctype to:
+         |   <doctype-public>-//W3C//DTD XHTML 1.0 Frameset//EN</doctype-public>
+         |   <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</doctype-system>
+         |
+         | Default XHTML doctype in Cocoon is XHTML Strict. If you want to use more than one
+         | XHTML DTD simultaneously, you can define several XHTML serializers.
+         +-->
+     <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
+     <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
+     <encoding>UTF-8</encoding>
+   </map:serializer>
+
+   <map:serializer logger="sitemap.serializer.xhtml" mime-type="application/xhtml+xml" name="xhtml11" pool-max="64" src="org.apache.cocoon.serialization.XMLSerializer">
+     <doctype-public>-//W3C//DTD XHTML 1.1//EN</doctype-public>
+     <doctype-system>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</doctype-system>
+     <encoding>UTF-8</encoding>
+   </map:serializer>
+
+   <map:serializer logger="sitemap.serializer.text" mime-type="text/plain" name="text" src="org.apache.cocoon.serialization.TextSerializer"/>
+   <map:serializer logger="sitemap.serializer.zip"  mime-type="application/zip" name="zip" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/>
+   <map:serializer logger="sitemap.serializer.sxw"  mime-type="application/vnd.sun.xml.writer" name="sxw" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/>
+   <map:serializer logger="sitemap.serializer.sxc"  mime-type="application/vnd.sun.xml.calc" name="sxc" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/>
+   <map:serializer logger="sitemap.serializer.sxd"  mime-type="application/vnd.sun.xml.draw" name="sxd" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/>
+   <map:serializer logger="sitemap.serializer.sxi"  mime-type="application/vnd.sun.xml.impress" name="sxi" src="org.apache.cocoon.serialization.ZipArchiveSerializer"/>
+ </map:serializers>
+
+
+ <!--+
+     | Readers circumvent the XML oriented SAX pipeline model, think of a reader
+     | being a generator and a serializer at once thus a pipeline may not
+     | contain any generator, transformer or serializer in addition to a
+     | reader. They are useful for delivering binary content like images.
+     +-->
+ <map:readers default="resource">
+   <map:reader logger="sitemap.reader.resource" name="resource" pool-max="32" src="org.apache.cocoon.reading.ResourceReader">
+     <!--+
+         | Resource reader has these configuration parameters:
+     <expires>-1</expires>
+     <quick-modified-test>false</quick-modified-test>
+     <byte-ranges>true</byte-ranges>
+     <buffer-size>8192</buffer-size>
+         +-->
+   </map:reader>
+   <map:reader logger="sitemap.reader.image" name="image" src="org.apache.cocoon.reading.ImageReader"/>
+ </map:readers>
+
+ <!--+
+     | Matchers are executed during pipeline setup. They decide if a
+     | pipeline fragment is used within a pipeline. Usually, the decision
+     | is based on a match on the requested URI but matchers exist, that
+     | match different things as well. Most often the fragment contained in
+     | a matcher has a generator as well as a serializer. This is not a
+     | necessity, matchers can be nested while chaining does not work.
+     +-->
+ <map:matchers default="wildcard">
+   <map:matcher logger="sitemap.matcher.wildcard" name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/>
+   <map:matcher logger="sitemap.matcher.regexp" name="regexp" src="org.apache.cocoon.matching.RegexpURIMatcher"/>
+   <map:matcher logger="sitemap.matcher.request-parameter" name="request-parameter" src="org.apache.cocoon.matching.RequestParameterMatcher"/>
+   <map:matcher logger="sitemap.matcher.cookie" name="cookie" src="org.apache.cocoon.matching.CookieMatcher"/>
+   <map:matcher logger="sitemap.matcher.header" name="header" src="org.apache.cocoon.matching.HeaderMatcher"/>
+   <map:matcher logger="sitemap.matcher.parameter" name="parameter" src="org.apache.cocoon.matching.ParameterMatcher"/>
+   <map:matcher logger="sitemap.matcher.sessionstate" name="sessionstate" src="org.apache.cocoon.matching.WildcardSessionAttributeMatcher">
+     <attribute-name>org.apache.cocoon.SessionState</attribute-name>
+   </map:matcher>
+   <map:matcher logger="sitemap.matcher.referer-match" name="referer-match" src="org.apache.cocoon.matching.WildcardHeaderMatcher">
+     <header-name>referer</header-name>
+   </map:matcher>
+   <map:matcher name="mount-table" src="org.apache.cocoon.matching.MountTableMatcher">
+     <map:parameter name="ignore-missing-tables" value="true"/>
+   </map:matcher>
+   <map:matcher logger="sitemap.matcher.locale" name="locale" src="org.apache.cocoon.matching.LocaleMatcher">
+     <!--+
+         | Default configuration:
+     <locale-attribute>locale</locale-attribute>
+     <negotiate>false</negotiate>
+     <use-locale>true</use-locale>
+     <use-locales>false</use-locales>
+     <use-blank-locale>true</use-blank-locale>
+     <default-locale language="en" country="US"/>
+     <create-session>false</create-session>
+     <store-in-request>false</store-in-request>
+     <store-in-session>false</store-in-session>
+     <store-in-cookie>false</store-in-cookie>
+         +-->
+   </map:matcher>
+ </map:matchers>
+
+ <!--+
+     | Selectors are executed during pipeline setup. They can be used to
+     | determine which pipeline fragments should be combined. They are best
+     | compared with a java switch statement.
+     +-->
+ <map:selectors default="browser">
+   <map:selector logger="sitemap.selector.browser" name="browser" src="org.apache.cocoon.selection.BrowserSelector">
+     <!--+
+         | NOTE: The appearance indicates the search order. This is very important since
+         |       some words may be found in more than one browser description. (MSIE is
+         |       presented as "Mozilla/4.0 (Compatible; MSIE 4.01; ...")
+         +-->
+     <browser name="explorer" useragent="MSIE"/>
+     <browser name="pocketexplorer" useragent="MSPIE"/>
+     <browser name="handweb" useragent="HandHTTP"/>
+     <browser name="avantgo" useragent="AvantGo"/>
+     <browser name="imode" useragent="DoCoMo"/>
+     <browser name="opera" useragent="Opera"/>
+     <browser name="lynx" useragent="Lynx"/>
+     <browser name="java" useragent="Java"/>
+     <browser name="wap" useragent="Nokia"/>
+     <browser name="wap" useragent="UP"/>
+     <browser name="wap" useragent="Wapalizer"/>
+     <browser name="mozilla5" useragent="Mozilla/5"/>
+     <browser name="mozilla5" useragent="Netscape6/"/>
+     <browser name="netscape" useragent="Mozilla"/>
+   </map:selector>
+
+   <!--+
+       | Exception selector : used in <map:handle> errors to build different pipelines
+       | depending on the error that occured.
+       | The configuration allows to associate a symbolic name to exception classes
+       | which is used in the <map:when> tests.
+       | An exception can also be "unrolled", meaning that cascaded exception will be checked.
+       +-->
+   <map:selector logger="sitemap.selector.exception" name="exception" src="org.apache.cocoon.selection.ExceptionSelector">
+     <exception name="not-found" class="org.apache.cocoon.ResourceNotFoundException"/>
+     <exception name="invalid-continuation" class="org.apache.cocoon.components.flow.InvalidContinuationException"/>
+     <!-- The statement below tells the selector to unroll as much exceptions as possible -->
+     <exception class="java.lang.Throwable" unroll="true"/>
+   </map:selector>
+
+   <map:selector logger="sitemap.selector.request-method" name="request-method" src="org.apache.cocoon.selection.RequestMethodSelector"/>
+   <map:selector logger="sitemap.selector.resource-exists" name="resource-exists" src="org.apache.cocoon.selection.ResourceExistsSelector"/>
+   <map:selector logger="sitemap.selector.request-parameter" name="request-parameter" src="org.apache.cocoon.selection.RequestParameterSelector">
+     <!--+
+         | Define now which request parameter to use; or do it later,
+         | when using this selector, via "parameter-name" parameter.
+     <parameter-name>myparam</parameter-name>
+         +-->
+   </map:selector>
+   <map:selector logger="sitemap.selector.request-attribute" name="request-attribute" src="org.apache.cocoon.selection.RequestAttributeSelector">
+     <!-- <attribute-name>myparam</attribute-name> -->
+   </map:selector>
+   <map:selector logger="sitemap.selector.session-attribute" name="session-attribute" src="org.apache.cocoon.selection.SessionAttributeSelector">
+     <!-- <attribute-name>myparam</attribute-name> -->
+   </map:selector>
+   <map:selector logger="sitemap.selector.parameter" name="parameter" src="org.apache.cocoon.selection.ParameterSelector"/>
+   <map:selector logger="sitemap.selector.header" name="header" src="org.apache.cocoon.selection.HeaderSelector">
+     <!-- <header-name>myparam</header-name> -->
+   </map:selector>
+   <map:selector logger="sitemap.selector.host" name="host" src="org.apache.cocoon.selection.HostSelector"/>
+   <map:selector logger="sitemap.selector.simple" name="simple" src="org.apache.cocoon.selection.SimpleSelector"/>
+ </map:selectors>
+
+
+ <!--+
+     | Actions are executed during pipeline setup. Their purpose is to
+     | execute some code that doesn't involve touching the stream of
+     | pipeline events. Example usage is to update databases, check external
+     | resources, etc.. The execution may fail or complete successfully. Only
+     | if the execution of the action was successful, the pipeline fragment
+     | nested inside the action element is executed, otherwise, it's skipped
+     | entirely and execution proceeds from the element right below the action.
+     +-->
+ <map:actions>
+   <map:action logger="sitemap.action.request" name="request" src="org.apache.cocoon.acting.RequestParamAction"/>
+   <map:action logger="sitemap.action.requestParamExists" name="req-params" src="org.apache.cocoon.acting.RequestParameterExistsAction"/>
+   <map:action logger="sitemap.action.form-validator" name="form-validator" src="org.apache.cocoon.acting.FormValidatorAction"/>
+   <map:action logger="sitemap.action.session-state" name="session-state" src="org.apache.cocoon.acting.SessionStateAction"/>
+   <map:action logger="sitemap.action.session-isvalid" name="session-isvalid" src="org.apache.cocoon.acting.SessionIsValidAction"/>
+   <map:action logger="sitemap.action.session-validator" name="session-validator" src="org.apache.cocoon.acting.SessionValidatorAction"/>
+   <map:action logger="sitemap.action.session-invalidator" name="session-invalidator" src="org.apache.cocoon.acting.SessionInvalidatorAction"/>
+   <map:action logger="sitemap.action.resource-exists" name="resource-exists" src="org.apache.cocoon.acting.ResourceExistsAction"/>
+   <map:action logger="sitemap.action.set-header" name="set-header" src="org.apache.cocoon.acting.HttpHeaderAction"/>
+   <map:action logger="sitemap.action.clear-cache" name="clear-cache" src="org.apache.cocoon.acting.ClearCacheAction"/>
+   <map:action logger="sitemap.action.clear-persistent-store" name="clear-persistent-store" src="org.apache.cocoon.acting.ClearPersistentStoreAction"/>
+   <map:action logger="sitemap.action.locale" name="locale" src="org.apache.cocoon.acting.LocaleAction">
+     <!--+
+         | Default configuration:
+     <locale-attribute>locale</locale-attribute>
+     <create-session>false</create-session>
+     <store-in-request>false</store-in-request>
+     <store-in-session>false</store-in-session>
+     <store-in-cookie>false</store-in-cookie>
+     <use-locale>true</use-locale>
+     <default-locale language="en" country="US"/>
+         +-->
+   </map:action>
+ </map:actions>
+
+
+ <!--+
+     | The different pipe implementations
+     |
+     | NON-CACHING:
+     |   The non caching implementation of cocoon pipelines.
+     |
+     | CACHING:
+     |   Traditional longest cacheable key caching.
+     |
+     | CACHING-POINT:
+     |   The caching-point pipeline implements an extended
+     |   caching algorithm which is of particular benefit for use with
+     |   those pipelines that utilise cocoon-views and/or provide
+     |   drill-down functionality.
+     |
+     | The autoCachingPoint algorithim (if enabled) will automatically
+     | cache common elements of the pipeline currently being processed - as well
+     | as the entire cacheable pipeline according to the "longest cacheable key"
+     | algorithm.
+     |
+     | Consider the following simple pipeline, where generator G is labelled with
+     | a cocoon-view enabling the pipeline to serialize data to either html or pdf
+     | depending on the value of cocoon-view (as provided by the request):
+     | G - T -  S(html)
+     | |__ T -  S(pdf)
+     |
+     | If cocoon-view=html, then the caching-point algorithm will not only cache
+     | the longest cacheable path, which would be GTS(html) but also the
+     | *common element* which in this case would be the results from G. If the
+     | next request to this pipeline was cocoon-view=pdf, then there would be no
+     | need to invoke the generator a second time, as it's value has already been
+     | cached (provided G generates the same cache key)
+     |
+     | Also note: One can switch "Off" autoCachingPoint and use "pipeline-hints" to
+     | manually indicate that certain pipeline-components should be considered as
+     | cache points.
+     +-->
+  <map:pipes default="caching">
+    <map:pipe name="caching" src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
+      <!--+
+          | If not specified, the value of the outputBufferSize parameter is -1.
+          | This will cause Cocoon to buffer all output until processing has finished
+          | before sending it to the client. This has the advantage that in case
+          | an error occurs during the processing of the SAX-pipeline, Cocoon is still
+          | able to reset the response and send an error page instead. Otherwise the
+          | error page will be appended to the output already send to the client.
+          | If you are generating larger pages, it might be benificial to enable
+          | this parameter, so that output is gradually send to the client as it
+          | is being generated.
+          | For more granularity, you can also supply this parameter to
+          | individual map:pipeline elements (using map:parameter syntax).
+          +-->
+      <!-- parameter name="outputBufferSize" value="8192"/ -->
+    </map:pipe>
+    <map:pipe name="caching-point" src="org.apache.cocoon.components.pipeline.impl.CachingPointProcessingPipeline">
+      <parameter name="autoCachingPoint" value="On"/>
+      <!-- parameter name="outputBufferSize" value="8192"/ -->
+    </map:pipe>
+    <map:pipe name="noncaching" src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline">
+      <!-- parameter name="outputBufferSize" value="8192"/ -->
+    </map:pipe>
+    <!--+
+        | This pipeline implementation caches the complete content for a defined
+        | period of time (expires). The cache key is the current uri.
+        +-->
+    <map:pipe name="expires" src="org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline">
+      <parameter name="cache-expires" value="180"/> <!-- Expires in secondes -->
+    </map:pipe>
+  </map:pipes>
+  
+</map:components>

Propchange: cocoon/whiteboard/maven2/cocoon-archetype-core/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/xconf/cocoon-core-sitemap.xconf
------------------------------------------------------------------------------
    svn:eol-style = native