Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 58573 invoked from network); 6 Apr 2009 18:10:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2009 18:10:31 -0000 Received: (qmail 41535 invoked by uid 500); 6 Apr 2009 18:10:29 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 41455 invoked by uid 500); 6 Apr 2009 18:10:29 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 41418 invoked by uid 99); 6 Apr 2009 18:10:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 18:10:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 18:10:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0D0662388B05; Mon, 6 Apr 2009 18:09:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r762445 [2/6] - in /cocoon/site/site/subprojects/configuration/1.0: ./ css/ js/ spring-configurator/2.1/ spring-configurator/2.1/css/ spring-configurator/2.1/images/ spring-configurator/2.1/images/logos/ spring-configurator/2.1/js/ Date: Mon, 06 Apr 2009 18:09:54 -0000 To: cvs@cocoon.apache.org From: reinhard@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090406180956.0D0662388B05@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: cocoon/site/site/subprojects/configuration/1.0/dependencies.html URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/dependencies.html?rev=762445&r1=762444&r2=762445&view=diff ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/dependencies.html (original) +++ cocoon/site/site/subprojects/configuration/1.0/dependencies.html Mon Apr 6 18:09:51 2009 @@ -1,114 +1,117 @@ - - - - - - - - - - - - - Cocoon Configuration Site - Project Dependencies - - - - - - - -
-

Apache » Cocoon »

-
- - - -
- -

Project Dependencies

There are no dependencies for this project. It is a standalone application that does not depend on any other project.

-
- - - - - - - + + + + + + + + + + + + + Cocoon Configuration Site - Project Dependencies + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ +
+

Project Dependencies

There are no dependencies for this project. It is a standalone application that does not depend on any other project.

+
+
+ + + + + + + \ No newline at end of file Modified: cocoon/site/site/subprojects/configuration/1.0/js/getBlank.js URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/js/getBlank.js?rev=762445&r1=762444&r2=762445&view=diff ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/js/getBlank.js (original) +++ cocoon/site/site/subprojects/configuration/1.0/js/getBlank.js Mon Apr 6 18:09:51 2009 @@ -1,24 +1,24 @@ -/* - * 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. - */ -function getBlank (form, stdValue){ - if (form.value == stdValue){ - form.value = ''; - } - return true; +/* + * 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. + */ +function getBlank (form, stdValue){ + if (form.value == stdValue){ + form.value = ''; + } + return true; } \ No newline at end of file Modified: cocoon/site/site/subprojects/configuration/1.0/license.html URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/license.html?rev=762445&r1=762444&r2=762445&view=diff ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/license.html (original) +++ cocoon/site/site/subprojects/configuration/1.0/license.html Mon Apr 6 18:09:51 2009 @@ -1,99 +1,99 @@ - - - - - - - - - - - - - Cocoon Configuration Site - Project License - - - - - - - -
-

Apache » Cocoon »

-
- - - -
- -
+ + + + + + + + + + + + + Cocoon Configuration Site - Project License + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ +

Overview

Typically the licenses listed for the project are that of the project itself, and not of dependencies.

Project License

The Apache Software License, Version 2.0

                                  Apache License
                            Version 2.0, January 2004
@@ -296,24 +296,24 @@
    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.
-
-
-
- - - - - - - +
+ + + + + + + + + \ No newline at end of file Modified: cocoon/site/site/subprojects/configuration/1.0/project-info.html URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/project-info.html?rev=762445&r1=762444&r2=762445&view=diff ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/project-info.html (original) +++ cocoon/site/site/subprojects/configuration/1.0/project-info.html Mon Apr 6 18:09:51 2009 @@ -1,117 +1,117 @@ - - - - - - - - - - - - - Cocoon Configuration Site - Project Information - - - - - - - -
-

Apache » Cocoon »

-
- - - -
- -
-

Project Information

This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.

Overview

DocumentDescription
Project LicenseThis is a link to the definitions of project licenses.
DependenciesThis document lists the projects dependencies and provides information on each dependency.
Project TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Project SummaryThis document lists other related information of this project
-
-
- - - - - - - + + + + + + + + + + + + + Cocoon Configuration Site - Project Information + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ +
+

Project Information

This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.

Overview

DocumentDescription
Project SummaryThis document lists other related information of this project
DependenciesThis document lists the projects dependencies and provides information on each dependency.
Project TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Project LicenseThis is a link to the definitions of project licenses.
+
+
+ + + + + + + \ No newline at end of file Modified: cocoon/site/site/subprojects/configuration/1.0/project-summary.html URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/project-summary.html?rev=762445&r1=762444&r2=762445&view=diff ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/project-summary.html (original) +++ cocoon/site/site/subprojects/configuration/1.0/project-summary.html Mon Apr 6 18:09:51 2009 @@ -1,118 +1,121 @@ - - - - - - - - - - - - - Cocoon Configuration Site - Project Summary - - - - - - - -
-

Apache » Cocoon »

-
- - - -
- + + + + + + + + + + + + + Cocoon Configuration Site - Project Summary + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ +

Project Summary

Project Information

FieldValue
NameCocoon Configuration Site
DescriptionThe Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are characterized by a collaborative, consensus based development process, an open and pragmatic software license, and a desire to create high quality software that leads the way in its field. We consider ourselves not simply a group of projects sharing a server, but rather a community of developers - and users.
Homepagehttp://cocoon.apache.org/subprojects/configuration/1.0/

Project Organization

FieldValue
NameThe Apache Software Foundation
URLhttp://www.apache.org/

Build Information

FieldValue
GroupIdorg.apache.cocoon
ArtifactIdcocoon-configuration-site
Version1.0.0-SNAPSHOT
Typejar
-
- - - - - - - + and users.Homepagehttp://cocoon.apache.org/subprojects/configuration/1.0/

Project Organization

FieldValue
NameThe Apache Software Foundation
URLhttp://www.apache.org/

Build Information

FieldValue
GroupIdorg.apache.cocoon
ArtifactIdcocoon-configuration-site
Version1.0.0-SNAPSHOT
Typejar
+ + + + + + + + + \ No newline at end of file Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/.htaccess URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/.htaccess?rev=762445&view=auto ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/.htaccess (added) +++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/.htaccess Mon Apr 6 18:09:51 2009 @@ -0,0 +1 @@ +DirectoryIndex 1304_1_1.html \ No newline at end of file Propchange: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/.htaccess ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/.htaccess ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1303_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1303_1_1.html?rev=762445&view=auto ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1303_1_1.html (added) +++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1303_1_1.html Mon Apr 6 18:09:51 2009 @@ -0,0 +1,210 @@ + + + + + + + + + + + + + Cocoon Spring Configurator - Basic Configuration + + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ +
+

Basic Configuration

Configuration

The Spring Configurator uses Spring's +extensible +XML authoring features and therefore it can be directly used in your Spring +bean configurations. Usually you add the configurator to your global web +application context configuration (which is usually located at +/WEB-INF/applicationContext.xml). The extensible XML authoring requires +that you use the schema based configuration for Spring. Just add the required +namespace definition, a reference to the configurator XML schema to your bean +configuration:

<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:configurator="http://cocoon.apache.org/schema/configurator"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+                           http://cocoon.apache.org/schema/configurator http://cocoon.apache.org/schema/configurator/cocoon-configurator-1.0.1.xsd">
+    ...
+</beans>
+

Then you can initialize the configurator by adding the settings +element to your bean configuration:

   <!-- Activate Cocoon Spring Configurator -->
+   <configurator:settings/>
+

This innocent looking statement initializes the Cocoon Spring Configurator +and provides support for the following features without any additional +configuration:

Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+
+ + + + + + + + Propchange: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1303_1_1.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1304_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1304_1_1.html?rev=762445&view=auto ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1304_1_1.html (added) +++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1304_1_1.html Mon Apr 6 18:09:51 2009 @@ -0,0 +1,205 @@ + + + + + + + + + + + + + Cocoon Spring Configurator - Introduction to the Spring Configurator + + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ +
+

Introduction to the Spring Configurator

The Spring Configurator is a useful component providing support in common +configuration issues when using the Spring framework.

Although the code was developed as part of Cocoon, it is aimed at making it +easier to use Spring in any web application.  It has no dependencies on Cocoon +and can be used standalone. The impact on your code is nearly zero and the +Spring Configurator has only Spring itself as a dependency.

Motivation

When using a framework like Spring there are always the same problems to +solve, like

    +
  • Where do I store my bean configurations?
  • +
  • How can I parameterize them dynamically?
  • +
  • Where do I store this extra information?
  • +
  • How can I handle different environments for testing or development or +production?
  • +
  • How can I distribute code configuration information?
  • +
  • How can I distribute partial web applications?
  • +
  • How do I manage hierarchial web application contexts?
  • +
Of course Spring is flexible enough to handle these problems, but you have to +implement your own solution.  The danger here is that every project ends up +developing its own "proprietary" solution.A standardized way of doing these things would be great.  Guess what!, the +Spring Configurator is the answer to your problems. Just like Maven has +standardized the build process, the Spring Configurator standardizes the way of +dealing with various configuration issues with Spring.
Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+
+ + + + + + + + Propchange: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1304_1_1.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1308_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1308_1_1.html?rev=762445&view=auto ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1308_1_1.html (added) +++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1308_1_1.html Mon Apr 6 18:09:51 2009 @@ -0,0 +1,198 @@ + + + + + + + + + + + + + Cocoon Spring Configurator - Installation + + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ +
+

Installation

Requirements

The Spring Configurator requires

    +
  • the Spring Framework Version 2.5.x (or above)
  • +
  • JDK 1.5 (or above)
  • +
  • Servlet API 2.3 (or above)
  • +
The Spring Configuration requires two additional jar files, the Cocoon +Configuration API and the Cocoon Spring Configurator, which you can either +download +here +and +here +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.
Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+
+ + + + + + + + Propchange: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1308_1_1.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1308_1_1.html ------------------------------------------------------------------------------ svn:mime-type = text/html Added: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1309_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1309_1_1.html?rev=762445&view=auto ============================================================================== --- cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1309_1_1.html (added) +++ cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1309_1_1.html Mon Apr 6 18:09:51 2009 @@ -0,0 +1,201 @@ + + + + + + + + + + + + + Cocoon Spring Configurator - Running Modes + + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ +
+

Running Modes

Running Modes

The configurator provides the support of running modes. 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.

A running mode is just a unique text key, like dev, test +or prod. 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).

The running mode can be set in two ways: you can either set it in your +applicationContext.xml as a configuration for the settings +element:

   <!-- Activate Cocoon Spring Configurator -->
+   <configurator:settings runningMode="test"/>
+

Or you can define the running mode by setting the system property +org.apache.cocoon.mode on startup of your web application, usually you +do this by specifying -Dorg.apache.cocoon.mode=test when starting your +application server. The system property has precedence over the value from the +application context. The default running mode is prod.

Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+
+ + + + + + + + Propchange: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1309_1_1.html ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cocoon/site/site/subprojects/configuration/1.0/spring-configurator/2.1/1309_1_1.html ------------------------------------------------------------------------------ svn:mime-type = text/html