You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2008/08/06 00:21:02 UTC
svn commit: r682994 [4/11] - in /cocoon/site/site:
2.2/maven-plugins/maven-plugin/1.0/
2.2/maven-plugins/maven-plugin/1.0/apidocs/ subprojects/block-deployment/
subprojects/block-deployment/1.0/ subprojects/block-deployment/1.0/apidocs/
subprojects/blo...
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1304_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1304_1_1.html?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1304_1_1.html (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1304_1_1.html Tue Aug 5 15:20:53 2008
@@ -0,0 +1,210 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title> Cocoon Spring Configurator - Introduction
+ </title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <script src="./js/getBlank.js" language="javascript" type="text/javascript"></script>
+ <meta name="author" content="The Cocoon Community" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body>
+ <div id="breadtrail">
+ <p><a href="http://www.apache.org">Apache</a> » <a href="../../../../../">Cocoon</a> »</p>
+ </div>
+ <div id="top">
+ <div id="header">
+ <div class="projectlogo">
+ <a href="../../../../../"><img class="logoImage"
+ src="images/cocoon_logo.jpg"
+ alt="Apache Cocoon" border="0" /></a>
+ </div>
+ <div class="grouplogo">
+ <p class="grouptitle"><a href="../../../../../">The Apache Cocoon Project</a><img
+ src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+ <form class="searchbox" action="http://www.google.com/search" method="get">
+ <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+ <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />
+ <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+ </form>
+ </div>
+ </div>
+ <div id="projectBar">
+ <p class="cocoonHome"><a href="./index.html"><img
+ src="images/pmc-home.gif"
+ alt=" Cocoon Spring Configurator
+ 2.0
+ homepage"
+ border="0" title=" Cocoon Spring Configurator
+ 2.0
+ homepage" /></a></p>
+ <h1 class="projectTitle"><a href="./index.html"> Cocoon Spring Configurator
+ 2.0
+ </a></h1>
+ <ul class="projectList">
+ <li><strong><a href="../../../../../2.2/">Cocoon 2.2</a></em></strong></li>
+ <li><a href="../../../../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+ <li><strong><a href="../../../../../subprojects/">Subprojects</a></strong></li>
+ </ul>
+ </div>
+ <div class="projectBarClear"><!-- --></div>
+ </div>
+ <!-- end of top -->
+
+ <div id="content">
+ <ul id="menu">
+ <li>
+ Cocoon Spring Configurator
+ <ul>
+
+ <li >
+ <strong>Introduction</strong>
+ </li>
+
+ <li >
+ <a href="1308_1_1.html">Installation</a>
+ </li>
+
+ <li >
+ <a href="1474_1_1.html">Migration</a>
+ </li>
+
+ <li >
+ <a href="1303_1_1.html">Basic Configuration</a>
+ </li>
+
+ <li >
+ <a href="1309_1_1.html">Running Modes</a>
+ </li>
+
+ <li >
+ <a href="1310_1_1.html">Property Handling</a>
+ </li>
+
+ <li >
+ <a href="1312_1_1.html">Bean Configurations</a>
+ </li>
+
+ <li >
+ <a href="1400_1_1.html">Dynamic Registry Support</a>
+ </li>
+
+ <li >
+ <a href="1311_1_1.html">Log4j Support</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ Project Documentation
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Introduction</h1><p>The Spring Configurator is a useful component providing support in common
+configuration issues when using the Spring framework. Although this product has
+been developed inside the Cocoon project, it is aimed at making easier the usage
+of Spring in each and every web application; it is not tied to the famous Cocoon
+web application framework and can be used standalone. The impact on your code is
+nearly zero and the Spring Configurator as only Spring itself as a dependency.
+</p><h2 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">Motivation</h2><p>When using a framework like Spring there are always the same problems to
+solve, like</p><ul>
+<li>Where do I store my bean configurations?</li>
+<li>How can I parameterize them dynamically?</li>
+<li>Where do I store these extra information?</li>
+<li>How can I handle different environments like a testing environment, a
+development environment and a production environment?</li>
+<li>How can I distribute not only code but also corresponding configurations?
+</li>
+<li>How can I distribute partial web applications?</li>
+<li>How do I manage hierarchial web application contexts?</li>
+</ul>Of course Spring is flexible enough to enable solutions to the above
+problems, but you have to do it and implement it for your solution. And there is
+more than one way of doing this and each and every project ends up developing
+its own "proprietary" solution. A best practice and a standardized way of doing
+these things would be great. And guess what, the Spring Configurator is the
+answer to your problems. Like Maven has standardized the build process, the
+Spring Configurator standardizes the way of dealing with various configuration
+issues with Spring. Ok, enough motivation, let's see what the Spring
+configurator can provide for your work.</div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
+ us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1304?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
+ </div></div></div>
+ </div>
+
+ <!-- end of content -->
+ <div id="footer">
+ <p>©
+ 1999-2008
+
+ The Apache Software Foundation
+ </p>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1740622-3";
+ urchinTracker();
+ </script>
+
+ </body>
+</html>
\ No newline at end of file
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1308_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1308_1_1.html?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1308_1_1.html (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1308_1_1.html Tue Aug 5 15:20:53 2008
@@ -0,0 +1,197 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title> Cocoon Spring Configurator - Installation
+ </title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <script src="./js/getBlank.js" language="javascript" type="text/javascript"></script>
+ <meta name="author" content="The Cocoon Community" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body>
+ <div id="breadtrail">
+ <p><a href="http://www.apache.org">Apache</a> » <a href="../../../../../">Cocoon</a> »</p>
+ </div>
+ <div id="top">
+ <div id="header">
+ <div class="projectlogo">
+ <a href="../../../../../"><img class="logoImage"
+ src="images/cocoon_logo.jpg"
+ alt="Apache Cocoon" border="0" /></a>
+ </div>
+ <div class="grouplogo">
+ <p class="grouptitle"><a href="../../../../../">The Apache Cocoon Project</a><img
+ src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+ <form class="searchbox" action="http://www.google.com/search" method="get">
+ <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+ <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />
+ <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+ </form>
+ </div>
+ </div>
+ <div id="projectBar">
+ <p class="cocoonHome"><a href="./index.html"><img
+ src="images/pmc-home.gif"
+ alt=" Cocoon Spring Configurator
+ 2.0
+ homepage"
+ border="0" title=" Cocoon Spring Configurator
+ 2.0
+ homepage" /></a></p>
+ <h1 class="projectTitle"><a href="./index.html"> Cocoon Spring Configurator
+ 2.0
+ </a></h1>
+ <ul class="projectList">
+ <li><strong><a href="../../../../../2.2/">Cocoon 2.2</a></em></strong></li>
+ <li><a href="../../../../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+ <li><strong><a href="../../../../../subprojects/">Subprojects</a></strong></li>
+ </ul>
+ </div>
+ <div class="projectBarClear"><!-- --></div>
+ </div>
+ <!-- end of top -->
+
+ <div id="content">
+ <ul id="menu">
+ <li>
+ Cocoon Spring Configurator
+ <ul>
+
+ <li >
+ <a href="1304_1_1.html">Introduction</a>
+ </li>
+
+ <li >
+ <strong>Installation</strong>
+ </li>
+
+ <li >
+ <a href="1474_1_1.html">Migration</a>
+ </li>
+
+ <li >
+ <a href="1303_1_1.html">Basic Configuration</a>
+ </li>
+
+ <li >
+ <a href="1309_1_1.html">Running Modes</a>
+ </li>
+
+ <li >
+ <a href="1310_1_1.html">Property Handling</a>
+ </li>
+
+ <li >
+ <a href="1312_1_1.html">Bean Configurations</a>
+ </li>
+
+ <li >
+ <a href="1400_1_1.html">Dynamic Registry Support</a>
+ </li>
+
+ <li >
+ <a href="1311_1_1.html">Log4j Support</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ Project Documentation
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Installation</h1><h2 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">Requirements</h2><p>The Spring Configurator requires</p><ul>
+<li>the Spring Framework Version 2.0.1 (or above)</li>
+<li>JDK 1.4 (or above)</li>
+<li>Servlet API 2.3 (or above)</li>
+</ul>The Spring Configuration requires two additional jar files, the Cocoon
+Configuration API and the Cocoon Spring Configurator, which you can either
+download
+<a href="http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-configuration-api/">here</a>
+and
+<a href="http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-spring-configurator/">here</a>
+or from a public Maven repository by adding the Spring Configurator as a
+dependency to your project:Please refer to the Spring documentation for setting up Spring's web
+application context.</div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
+ us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1308?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
+ </div></div></div>
+ </div>
+
+ <!-- end of content -->
+ <div id="footer">
+ <p>©
+ 1999-2008
+
+ The Apache Software Foundation
+ </p>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1740622-3";
+ urchinTracker();
+ </script>
+
+ </body>
+</html>
\ No newline at end of file
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1309_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1309_1_1.html?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1309_1_1.html (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1309_1_1.html Tue Aug 5 15:20:53 2008
@@ -0,0 +1,200 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title> Cocoon Spring Configurator - Running Modes
+ </title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <script src="./js/getBlank.js" language="javascript" type="text/javascript"></script>
+ <meta name="author" content="The Cocoon Community" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body>
+ <div id="breadtrail">
+ <p><a href="http://www.apache.org">Apache</a> » <a href="../../../../../">Cocoon</a> »</p>
+ </div>
+ <div id="top">
+ <div id="header">
+ <div class="projectlogo">
+ <a href="../../../../../"><img class="logoImage"
+ src="images/cocoon_logo.jpg"
+ alt="Apache Cocoon" border="0" /></a>
+ </div>
+ <div class="grouplogo">
+ <p class="grouptitle"><a href="../../../../../">The Apache Cocoon Project</a><img
+ src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+ <form class="searchbox" action="http://www.google.com/search" method="get">
+ <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+ <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />
+ <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+ </form>
+ </div>
+ </div>
+ <div id="projectBar">
+ <p class="cocoonHome"><a href="./index.html"><img
+ src="images/pmc-home.gif"
+ alt=" Cocoon Spring Configurator
+ 2.0
+ homepage"
+ border="0" title=" Cocoon Spring Configurator
+ 2.0
+ homepage" /></a></p>
+ <h1 class="projectTitle"><a href="./index.html"> Cocoon Spring Configurator
+ 2.0
+ </a></h1>
+ <ul class="projectList">
+ <li><strong><a href="../../../../../2.2/">Cocoon 2.2</a></em></strong></li>
+ <li><a href="../../../../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+ <li><strong><a href="../../../../../subprojects/">Subprojects</a></strong></li>
+ </ul>
+ </div>
+ <div class="projectBarClear"><!-- --></div>
+ </div>
+ <!-- end of top -->
+
+ <div id="content">
+ <ul id="menu">
+ <li>
+ Cocoon Spring Configurator
+ <ul>
+
+ <li >
+ <a href="1304_1_1.html">Introduction</a>
+ </li>
+
+ <li >
+ <a href="1308_1_1.html">Installation</a>
+ </li>
+
+ <li >
+ <a href="1474_1_1.html">Migration</a>
+ </li>
+
+ <li >
+ <a href="1303_1_1.html">Basic Configuration</a>
+ </li>
+
+ <li >
+ <strong>Running Modes</strong>
+ </li>
+
+ <li >
+ <a href="1310_1_1.html">Property Handling</a>
+ </li>
+
+ <li >
+ <a href="1312_1_1.html">Bean Configurations</a>
+ </li>
+
+ <li >
+ <a href="1400_1_1.html">Dynamic Registry Support</a>
+ </li>
+
+ <li >
+ <a href="1311_1_1.html">Log4j Support</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ Project Documentation
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Running Modes</h1><h2 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">Running Modes</h2><p>The configurator provides the support of <em>running modes</em>. A running
+mode defines the environment the application is currently running in. For
+example this can be during development, a test setup or production. As you will
+see in just some paragraphs, the configurator can use different configurations
+and settings depending on the running mode.</p><p>A running mode is just a unique text key, like <tt>dev</tt>, <tt>test</tt>
+or <tt>prod</tt>. This key is used to determine the correct configuration at
+runtime. Although you can use any text key, it is advisable to use one of the
+standard keys (dev, test or prod).</p><p>The running mode can be set in two ways: you can either set it in your
+<tt>applicationContext.xml</tt> as a configuration for the <tt>settings
+</tt>element:</p><pre> <!-- Activate Cocoon Spring Configurator -->
+ <configurator:settings runningMode="test"/>
+</pre><p>Or you can define the running mode by setting the system property
+<tt>org.apache.cocoon.mode</tt> on startup of your web application, usually you
+do this by specifying <tt>-Dorg.apache.cocoon.mode=test</tt> when starting your
+application server. The system property has precedence over the value from the
+application context. The default running mode is <tt>prod</tt>.</p></div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
+ us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1309?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
+ </div></div></div>
+ </div>
+
+ <!-- end of content -->
+ <div id="footer">
+ <p>©
+ 1999-2008
+
+ The Apache Software Foundation
+ </p>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1740622-3";
+ urchinTracker();
+ </script>
+
+ </body>
+</html>
\ No newline at end of file
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1310_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1310_1_1.html?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1310_1_1.html (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1310_1_1.html Tue Aug 5 15:20:53 2008
@@ -0,0 +1,258 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title> Cocoon Spring Configurator - Property Handling
+ </title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <script src="./js/getBlank.js" language="javascript" type="text/javascript"></script>
+ <meta name="author" content="The Cocoon Community" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body>
+ <div id="breadtrail">
+ <p><a href="http://www.apache.org">Apache</a> » <a href="../../../../../">Cocoon</a> »</p>
+ </div>
+ <div id="top">
+ <div id="header">
+ <div class="projectlogo">
+ <a href="../../../../../"><img class="logoImage"
+ src="images/cocoon_logo.jpg"
+ alt="Apache Cocoon" border="0" /></a>
+ </div>
+ <div class="grouplogo">
+ <p class="grouptitle"><a href="../../../../../">The Apache Cocoon Project</a><img
+ src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+ <form class="searchbox" action="http://www.google.com/search" method="get">
+ <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+ <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />
+ <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+ </form>
+ </div>
+ </div>
+ <div id="projectBar">
+ <p class="cocoonHome"><a href="./index.html"><img
+ src="images/pmc-home.gif"
+ alt=" Cocoon Spring Configurator
+ 2.0
+ homepage"
+ border="0" title=" Cocoon Spring Configurator
+ 2.0
+ homepage" /></a></p>
+ <h1 class="projectTitle"><a href="./index.html"> Cocoon Spring Configurator
+ 2.0
+ </a></h1>
+ <ul class="projectList">
+ <li><strong><a href="../../../../../2.2/">Cocoon 2.2</a></em></strong></li>
+ <li><a href="../../../../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+ <li><strong><a href="../../../../../subprojects/">Subprojects</a></strong></li>
+ </ul>
+ </div>
+ <div class="projectBarClear"><!-- --></div>
+ </div>
+ <!-- end of top -->
+
+ <div id="content">
+ <ul id="menu">
+ <li>
+ Cocoon Spring Configurator
+ <ul>
+
+ <li >
+ <a href="1304_1_1.html">Introduction</a>
+ </li>
+
+ <li >
+ <a href="1308_1_1.html">Installation</a>
+ </li>
+
+ <li >
+ <a href="1474_1_1.html">Migration</a>
+ </li>
+
+ <li >
+ <a href="1303_1_1.html">Basic Configuration</a>
+ </li>
+
+ <li >
+ <a href="1309_1_1.html">Running Modes</a>
+ </li>
+
+ <li >
+ <strong>Property Handling</strong>
+ </li>
+
+ <li >
+ <a href="1312_1_1.html">Bean Configurations</a>
+ </li>
+
+ <li >
+ <a href="1400_1_1.html">Dynamic Registry Support</a>
+ </li>
+
+ <li >
+ <a href="1311_1_1.html">Log4j Support</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ Project Documentation
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Property Handling</h1><p>For using properties in your configuration files, Spring provides the
+<a href="http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#beans-factory-placeholderconfigurer">property
+placeholder configurer</a> which you have to configure in your application
+context. The Spring Configurator has already built-in support for replacing
+property values in configuration files, so there is no additional work required
+anymore. In addition the Configurator reads properties from various standard
+locations.</p><p>In general, the Configurator works with directories containing property files
+and supports two areas where these directories can be located: somewhere in the
+classpath or in some directory in your web application. While the first area is
+very convenient for distributing properties within libraries, the second area is
+very easy to edit by administrators or developers.</p><p>Let's start with the full list of actions taken by the Spring Configurator to
+read in properties. During this process, various property files are read. If
+there is more than one definiton for a property, the last definition wins!</p><ol type="1">
+<li>The classpath is scanned for property files inside jar files located at
+<tt>/META-INF/cocoon/properties/*.properties.</tt> Usually these property files
+are default values for beans distributed with the jar the property files are
+contained in. All these property files are read in alphabetical order.</li>
+<li>All property files located at
+<tt>/WEB-INF/classes/META-INF/cocoon/properties/*.properties</tt> are read in
+alphabetical order.</li>
+<li>The classpath is scanned for property files inside jar files located at
+<tt>/META-INF/cocoon/properties/[RUNNING_MODE]/*.properties.</tt> Usually these
+property files are default values in the given running mode for beans
+distributed with the jar the property files are contained in. All these property
+files are read in alphabetical order.</li>
+<li>All property files located at
+<tt>/WEB-INF/classes/META-INF/cocoon/properties/[RUNNING_MODE]/*.properties</tt>
+are read in alphabetical order.</li>
+<li>All property files from <tt>/WEB-INF/cocoon/properties/*.properties</tt>
+are read in alphabetical order.</li>
+<li>All property files from
+<tt>/WEB-INF/cocoon/properties/[RUNNING_MODE]/*.properties</tt> are read in
+alphabetical order.</li>
+<li>If the home directory of the current user contains a
+<tt>.cocoon/settings.properties</tt> file, this is read next.</li>
+<li>If the system property <tt>org.apache.cocoon.settings</tt> is specified and
+points to a property file, this is read. If the system property points to a
+directory all property files from this directory are read in alphabetical order
+and all property files from the sub directory named [RUNNING_MODE] are read in
+alphabetical order.</li>
+<li>If a property provider (see below) is configured in the application context,
+it is queried for a set of properties.</li>
+<li>Read additional configured properties from the settings configuration in the
+application context.</li>
+<li>Apply additional configured properties from the settigns configuration in
+the application context.</li>
+<li>Apply system properties.</li>
+</ol>Although this list might look very scary, it is in fact a very simple but
+powerful approach:<ul>
+<li>If you want to use properties within your configurations, make sure to
+supply a default value through a property file which is stored in the jar
+containing your components.</li>
+<li>If you want to provide default values for different running modes, add these
+configurations to your jar as well.</li>
+<li>If you want to override default configurations, put them either in your own
+jar file and make sure that the name of your property file comes after the
+default configuration file in alphabetical order, or put your property file in
+/<tt>WEB-INF/classes/META-INF/cocoon/properties.</tt></li>
+<li>If you want to override a default configuration depending on a running mode,
+add a property file at the same location as before but put it in a sub directory
+with the name of the running mode.</li>
+<li>To override properties globally, e.g. through an administrator, put the
+properties at <tt>/WEB-INF/cocoon/properties</tt> or
+<tt>/WEB-INF/cocoon/[RUNNING_MODE]/properties</tt>.</li>
+<li>If you want to change a configuration value during development you can just
+set it as a system property. (You can also add a property file with the values
+or define your own running mode of course.)</li>
+<li>If you have special requirements for property handling, you can add a
+property provider bean which is a Spring managed bean conforming to the
+<tt>org.apache.cocoon.configuration.PropertyProvider</tt> interface. For
+example, if you want to store your configurations inside a database or configure
+them through a jndi context, you can provide these values through a custom
+implementation.</li>
+</ul></div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
+ us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1310?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
+ </div></div></div>
+ </div>
+
+ <!-- end of content -->
+ <div id="footer">
+ <p>©
+ 1999-2008
+
+ The Apache Software Foundation
+ </p>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1740622-3";
+ urchinTracker();
+ </script>
+
+ </body>
+</html>
\ No newline at end of file
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1311_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1311_1_1.html?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1311_1_1.html (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1311_1_1.html Tue Aug 5 15:20:53 2008
@@ -0,0 +1,194 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title> Cocoon Spring Configurator - Log4j Support
+ </title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <script src="./js/getBlank.js" language="javascript" type="text/javascript"></script>
+ <meta name="author" content="The Cocoon Community" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body>
+ <div id="breadtrail">
+ <p><a href="http://www.apache.org">Apache</a> » <a href="../../../../../">Cocoon</a> »</p>
+ </div>
+ <div id="top">
+ <div id="header">
+ <div class="projectlogo">
+ <a href="../../../../../"><img class="logoImage"
+ src="images/cocoon_logo.jpg"
+ alt="Apache Cocoon" border="0" /></a>
+ </div>
+ <div class="grouplogo">
+ <p class="grouptitle"><a href="../../../../../">The Apache Cocoon Project</a><img
+ src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+ <form class="searchbox" action="http://www.google.com/search" method="get">
+ <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+ <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />
+ <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+ </form>
+ </div>
+ </div>
+ <div id="projectBar">
+ <p class="cocoonHome"><a href="./index.html"><img
+ src="images/pmc-home.gif"
+ alt=" Cocoon Spring Configurator
+ 2.0
+ homepage"
+ border="0" title=" Cocoon Spring Configurator
+ 2.0
+ homepage" /></a></p>
+ <h1 class="projectTitle"><a href="./index.html"> Cocoon Spring Configurator
+ 2.0
+ </a></h1>
+ <ul class="projectList">
+ <li><strong><a href="../../../../../2.2/">Cocoon 2.2</a></em></strong></li>
+ <li><a href="../../../../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+ <li><strong><a href="../../../../../subprojects/">Subprojects</a></strong></li>
+ </ul>
+ </div>
+ <div class="projectBarClear"><!-- --></div>
+ </div>
+ <!-- end of top -->
+
+ <div id="content">
+ <ul id="menu">
+ <li>
+ Cocoon Spring Configurator
+ <ul>
+
+ <li >
+ <a href="1304_1_1.html">Introduction</a>
+ </li>
+
+ <li >
+ <a href="1308_1_1.html">Installation</a>
+ </li>
+
+ <li >
+ <a href="1474_1_1.html">Migration</a>
+ </li>
+
+ <li >
+ <a href="1303_1_1.html">Basic Configuration</a>
+ </li>
+
+ <li >
+ <a href="1309_1_1.html">Running Modes</a>
+ </li>
+
+ <li >
+ <a href="1310_1_1.html">Property Handling</a>
+ </li>
+
+ <li >
+ <a href="1312_1_1.html">Bean Configurations</a>
+ </li>
+
+ <li >
+ <a href="1400_1_1.html">Dynamic Registry Support</a>
+ </li>
+
+ <li >
+ <strong>Log4j Support</strong>
+ </li>
+ </ul>
+ </li>
+ <li>
+ Project Documentation
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Log4j Support</h1><p>You can use the Configurator to
+configure <a href="http://logging.apache.org/log4j/">Log4j</a> through an XML
+configuration file:</p><pre> <bean name="org.apache.cocoon.spring.configurator.log4j"
+ class="org.apache.cocoon.spring.configurator.log4j.Log4JConfigurator"
+ scope="singleton">
+ <property name="resource" value="/WEB-INF/cocoon/log4j.xconf"/>
+ </bean>
+</pre><p>The property <tt>resource</tt> should point to a valid Log4j XML
+configuration file. You can use all properties configured through the
+Configurator in the XML configuration and reference the actual values.</p></div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
+ us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1311?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
+ </div></div></div>
+ </div>
+
+ <!-- end of content -->
+ <div id="footer">
+ <p>©
+ 1999-2008
+
+ The Apache Software Foundation
+ </p>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1740622-3";
+ urchinTracker();
+ </script>
+
+ </body>
+</html>
\ No newline at end of file
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1312_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1312_1_1.html?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1312_1_1.html (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1312_1_1.html Tue Aug 5 15:20:53 2008
@@ -0,0 +1,220 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title> Cocoon Spring Configurator - Bean Configurations
+ </title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <script src="./js/getBlank.js" language="javascript" type="text/javascript"></script>
+ <meta name="author" content="The Cocoon Community" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body>
+ <div id="breadtrail">
+ <p><a href="http://www.apache.org">Apache</a> » <a href="../../../../../">Cocoon</a> »</p>
+ </div>
+ <div id="top">
+ <div id="header">
+ <div class="projectlogo">
+ <a href="../../../../../"><img class="logoImage"
+ src="images/cocoon_logo.jpg"
+ alt="Apache Cocoon" border="0" /></a>
+ </div>
+ <div class="grouplogo">
+ <p class="grouptitle"><a href="../../../../../">The Apache Cocoon Project</a><img
+ src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+ <form class="searchbox" action="http://www.google.com/search" method="get">
+ <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+ <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />
+ <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+ </form>
+ </div>
+ </div>
+ <div id="projectBar">
+ <p class="cocoonHome"><a href="./index.html"><img
+ src="images/pmc-home.gif"
+ alt=" Cocoon Spring Configurator
+ 2.0
+ homepage"
+ border="0" title=" Cocoon Spring Configurator
+ 2.0
+ homepage" /></a></p>
+ <h1 class="projectTitle"><a href="./index.html"> Cocoon Spring Configurator
+ 2.0
+ </a></h1>
+ <ul class="projectList">
+ <li><strong><a href="../../../../../2.2/">Cocoon 2.2</a></em></strong></li>
+ <li><a href="../../../../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+ <li><strong><a href="../../../../../subprojects/">Subprojects</a></strong></li>
+ </ul>
+ </div>
+ <div class="projectBarClear"><!-- --></div>
+ </div>
+ <!-- end of top -->
+
+ <div id="content">
+ <ul id="menu">
+ <li>
+ Cocoon Spring Configurator
+ <ul>
+
+ <li >
+ <a href="1304_1_1.html">Introduction</a>
+ </li>
+
+ <li >
+ <a href="1308_1_1.html">Installation</a>
+ </li>
+
+ <li >
+ <a href="1474_1_1.html">Migration</a>
+ </li>
+
+ <li >
+ <a href="1303_1_1.html">Basic Configuration</a>
+ </li>
+
+ <li >
+ <a href="1309_1_1.html">Running Modes</a>
+ </li>
+
+ <li >
+ <a href="1310_1_1.html">Property Handling</a>
+ </li>
+
+ <li >
+ <strong>Bean Configurations</strong>
+ </li>
+
+ <li >
+ <a href="1400_1_1.html">Dynamic Registry Support</a>
+ </li>
+
+ <li >
+ <a href="1311_1_1.html">Log4j Support</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ Project Documentation
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Bean Configurations</h1><p>The Spring Configurator supports an automatic inclusion mechanism for bean
+definitions. By default all configuration files ending with *.xml are read from
+these locations in alphabetical order:</p><ul>
+<li>All configuration files contained in jar files located at
+<tt>/META-INF/cocoon/spring</tt></li>
+<li>All configuration files from
+<tt>/WEB-INF/classes/META-INF/cocoon/spring</tt></li>
+<li>All configuration files contained in jar files located at
+<tt>/META-INF/cocoon/spring/[RUNNING_MODE]</tt></li>
+<li>All configuration files from
+<tt>/WEB-INF/classes/META-INF/cocoon/spring/[RUNNING_MODE]</tt></li>
+</ul>If you want to deploy basic configurations together with your components, you
+can just put the configuration file inside the jar and the beans are available
+in the application context.<h2 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">Property Overriding</h2>To customize bean configurations according to your environment, the Cocoon
+Spring Configurator provides built-in support for Spring's
+<a href="http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#beans-factory-overrideconfigurer">property
+override configuration mechanism</a>. By default, property files are read in
+alphabetical order from the following locations:<ul>
+<li>All files ending with *.properties contained in jar files located at
+<tt>/META-INF/cocoon/spring</tt></li>
+<li>All files ending with *.properties from
+<tt>/WEB-INF/classes/META-INF/cocoon/spring</tt></li>
+<li>All files ending with *.properties contained in jar files located at
+<tt>/META-INF/cocoon/spring/[RUNNING_MODE]</tt></li>
+<li>All files ending with *.properties from
+<tt>/WEB-INF/classes/META-INF/cocoon/spring/[RUNNING_MODE]</tt></li>
+<li>All files ending with *.properties from <tt>/WEB-INF/cocoon/spring</tt>
+</li>
+<li>All files ending with *.properties from
+<tt>/WEB-INF/cocoon/spring/[RUNNING_MODE]</tt></li>
+</ul>The properties defined in these property files are only used for overriding
+bean configurations! These values are not available through the settings object.
+As we suggest to use namespace based identifiers for beans, the Cocoon Spring
+Configurator uses the character <tt>/</tt> for separating the bean name from the
+property name:<pre>my.special.beanName/property=somevalue
+</pre></div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
+ us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1312?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
+ </div></div></div>
+ </div>
+
+ <!-- end of content -->
+ <div id="footer">
+ <p>©
+ 1999-2008
+
+ The Apache Software Foundation
+ </p>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1740622-3";
+ urchinTracker();
+ </script>
+
+ </body>
+</html>
\ No newline at end of file
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1400_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1400_1_1.html?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1400_1_1.html (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1400_1_1.html Tue Aug 5 15:20:53 2008
@@ -0,0 +1,202 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title> Cocoon Spring Configurator - Dynamic Registry Support
+ </title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <script src="./js/getBlank.js" language="javascript" type="text/javascript"></script>
+ <meta name="author" content="The Cocoon Community" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body>
+ <div id="breadtrail">
+ <p><a href="http://www.apache.org">Apache</a> » <a href="../../../../../">Cocoon</a> »</p>
+ </div>
+ <div id="top">
+ <div id="header">
+ <div class="projectlogo">
+ <a href="../../../../../"><img class="logoImage"
+ src="images/cocoon_logo.jpg"
+ alt="Apache Cocoon" border="0" /></a>
+ </div>
+ <div class="grouplogo">
+ <p class="grouptitle"><a href="../../../../../">The Apache Cocoon Project</a><img
+ src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+ <form class="searchbox" action="http://www.google.com/search" method="get">
+ <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+ <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />
+ <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+ </form>
+ </div>
+ </div>
+ <div id="projectBar">
+ <p class="cocoonHome"><a href="./index.html"><img
+ src="images/pmc-home.gif"
+ alt=" Cocoon Spring Configurator
+ 2.0
+ homepage"
+ border="0" title=" Cocoon Spring Configurator
+ 2.0
+ homepage" /></a></p>
+ <h1 class="projectTitle"><a href="./index.html"> Cocoon Spring Configurator
+ 2.0
+ </a></h1>
+ <ul class="projectList">
+ <li><strong><a href="../../../../../2.2/">Cocoon 2.2</a></em></strong></li>
+ <li><a href="../../../../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+ <li><strong><a href="../../../../../subprojects/">Subprojects</a></strong></li>
+ </ul>
+ </div>
+ <div class="projectBarClear"><!-- --></div>
+ </div>
+ <!-- end of top -->
+
+ <div id="content">
+ <ul id="menu">
+ <li>
+ Cocoon Spring Configurator
+ <ul>
+
+ <li >
+ <a href="1304_1_1.html">Introduction</a>
+ </li>
+
+ <li >
+ <a href="1308_1_1.html">Installation</a>
+ </li>
+
+ <li >
+ <a href="1474_1_1.html">Migration</a>
+ </li>
+
+ <li >
+ <a href="1303_1_1.html">Basic Configuration</a>
+ </li>
+
+ <li >
+ <a href="1309_1_1.html">Running Modes</a>
+ </li>
+
+ <li >
+ <a href="1310_1_1.html">Property Handling</a>
+ </li>
+
+ <li >
+ <a href="1312_1_1.html">Bean Configurations</a>
+ </li>
+
+ <li >
+ <strong>Dynamic Registry Support</strong>
+ </li>
+
+ <li >
+ <a href="1311_1_1.html">Log4j Support</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ Project Documentation
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Dynamic Registry Support</h1><h2 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">Dynamic Registries</h2><p>If you want to develop a managing bean which acts like a registry, you face
+the problem of how to configure this bean. Usually this bean makes use of some
+kind of a map which stores the registered beans under some key. If you want to
+configure this in Spring you have to know which registered beans are available
+at this point of time. Apart from the amount of configuration you have to type,
+this approach is not dynamic. Adding new registered beans requires to change the
+configuration of the managing bean. Especially with the spring-configurator,
+beans can be added dynamically just by dropping a jar into the class-path. The
+approach of this configuration style will simply not work in these cases.</p><h2 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">The Bean Map</h2><p>The spring-configurator provides a dynamic bean map just for this purpose. It
+can either be used as a standalone bean or as a property of another bean. If you
+want to use it as a standalone bean, you have to specify either the name or the
+id attribute (like you do with the usual Spring bean definition as well):</p><pre><configurator:bean-map id/name="optional" type="the.class.of.the.registered.beans" check-parent="true" strip-prefix="true">
+
+</configurator:bean-map>
+</pre><p>This will create a map which contains all registered beans which
+support/implement the given type.</p><p>The key to store the registered beans in the map is the bean name, or if
+"check-parent" is set to true and the bean name starts with the type followed by
+either a "." or a "/" then the postfix is used as the key.</p><p>TBC</p></div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
+ us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1400?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
+ </div></div></div>
+ </div>
+
+ <!-- end of content -->
+ <div id="footer">
+ <p>©
+ 1999-2008
+
+ The Apache Software Foundation
+ </p>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1740622-3";
+ urchinTracker();
+ </script>
+
+ </body>
+</html>
\ No newline at end of file
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1474_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1474_1_1.html?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1474_1_1.html (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/1474_1_1.html Tue Aug 5 15:20:53 2008
@@ -0,0 +1,189 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title> Cocoon Spring Configurator - Migration
+ </title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <script src="./js/getBlank.js" language="javascript" type="text/javascript"></script>
+ <meta name="author" content="The Cocoon Community" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body>
+ <div id="breadtrail">
+ <p><a href="http://www.apache.org">Apache</a> » <a href="../../../../../">Cocoon</a> »</p>
+ </div>
+ <div id="top">
+ <div id="header">
+ <div class="projectlogo">
+ <a href="../../../../../"><img class="logoImage"
+ src="images/cocoon_logo.jpg"
+ alt="Apache Cocoon" border="0" /></a>
+ </div>
+ <div class="grouplogo">
+ <p class="grouptitle"><a href="../../../../../">The Apache Cocoon Project</a><img
+ src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+ <form class="searchbox" action="http://www.google.com/search" method="get">
+ <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+ <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />
+ <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+ </form>
+ </div>
+ </div>
+ <div id="projectBar">
+ <p class="cocoonHome"><a href="./index.html"><img
+ src="images/pmc-home.gif"
+ alt=" Cocoon Spring Configurator
+ 2.0
+ homepage"
+ border="0" title=" Cocoon Spring Configurator
+ 2.0
+ homepage" /></a></p>
+ <h1 class="projectTitle"><a href="./index.html"> Cocoon Spring Configurator
+ 2.0
+ </a></h1>
+ <ul class="projectList">
+ <li><strong><a href="../../../../../2.2/">Cocoon 2.2</a></em></strong></li>
+ <li><a href="../../../../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+ <li><a href="../../../../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+ <li><strong><a href="../../../../../subprojects/">Subprojects</a></strong></li>
+ </ul>
+ </div>
+ <div class="projectBarClear"><!-- --></div>
+ </div>
+ <!-- end of top -->
+
+ <div id="content">
+ <ul id="menu">
+ <li>
+ Cocoon Spring Configurator
+ <ul>
+
+ <li >
+ <a href="1304_1_1.html">Introduction</a>
+ </li>
+
+ <li >
+ <a href="1308_1_1.html">Installation</a>
+ </li>
+
+ <li >
+ <strong>Migration</strong>
+ </li>
+
+ <li >
+ <a href="1303_1_1.html">Basic Configuration</a>
+ </li>
+
+ <li >
+ <a href="1309_1_1.html">Running Modes</a>
+ </li>
+
+ <li >
+ <a href="1310_1_1.html">Property Handling</a>
+ </li>
+
+ <li >
+ <a href="1312_1_1.html">Bean Configurations</a>
+ </li>
+
+ <li >
+ <a href="1400_1_1.html">Dynamic Registry Support</a>
+ </li>
+
+ <li >
+ <a href="1311_1_1.html">Log4j Support</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ Project Documentation
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+ <li class='menuCollapse'>
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Migration</h1><h1 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">Migration from 1.0 to 2.0</h1><p>Version 1.0 of the Spring-Configurator incudes functionality to unpack Cocoon
+Blocks at runtime and make them usable with the block-context: protocol. Since
+this feature is Cocoon specific, it was moved into a newly created
+<a href="../../../../../subprojects/block-deployment/1.0/1471_1_1.html">Cocoon Block-Deployment</a> module. This module has to be
+added to your application if you want to retain the same functionality.</p></div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
+ us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1474?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
+ </div></div></div>
+ </div>
+
+ <!-- end of content -->
+ <div id="footer">
+ <p>©
+ 1999-2008
+
+ The Apache Software Foundation
+ </p>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1740622-3";
+ urchinTracker();
+ </script>
+
+ </body>
+</html>
\ No newline at end of file
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/LICENSE.txt
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/LICENSE.txt?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/LICENSE.txt (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/LICENSE.txt Tue Aug 5 15:20:53 2008
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ 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.
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/NOTICE.txt
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/NOTICE.txt?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/NOTICE.txt (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/NOTICE.txt Tue Aug 5 15:20:53 2008
@@ -0,0 +1,5 @@
+Apache Cocoon
+Copyright 1999-2006 The Apache Software Foundation.
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/apidocs/create-apidocs.sh
URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/apidocs/create-apidocs.sh?rev=682994&view=auto
==============================================================================
--- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/apidocs/create-apidocs.sh (added)
+++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.0/apidocs/create-apidocs.sh Tue Aug 5 15:20:53 2008
@@ -0,0 +1,29 @@
+echo "----------------------------------------------------------------"
+echo "Creating JavaDocs for cocoon-spring-configurator:2.0.0"
+f=cocoon-spring-configurator-2.0.0-javadoc.jar
+jd=org/apache/cocoon/cocoon-spring-configurator/2.0.0/$f
+dl=0
+
+if [ -f $f ]
+then
+else
+ wget --header "User-Agent: Mozilla/5.0 Firefox/2.0.0.7" http://repo1.maven.org/maven2/$jd
+ dl=1
+fi
+
+if [ -f $f ]
+then
+else
+ wget --header "User-Agent: Mozilla/5.0 Firefox/2.0.0.7" http://people.apache.org/builds/cocoon/$jd
+ dl=1
+fi
+
+if [ $dl -eq 0 ]
+then
+ echo "No downloads."
+ exit 0
+else
+ unzip -qo $f
+fi
+
+exit 0