cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r833327 - in /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch: ./ cocoon-block-deployment.xweb
Date Fri, 06 Nov 2009 09:35:12 GMT
Author: reinhard
Date: Fri Nov  6 09:35:12 2009
New Revision: 833327

URL: http://svn.apache.org/viewvc?rev=833327&view=rev
Log:
enable block-deployment (necessary that the blockcontext:/ protocol works)

Added:
    cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/
    cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/cocoon-block-deployment.xweb
  (with props)

Added: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/cocoon-block-deployment.xweb
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/cocoon-block-deployment.xweb?rev=833327&view=auto
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/cocoon-block-deployment.xweb
(added)
+++ cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/cocoon-block-deployment.xweb
Fri Nov  6 09:35:12 2009
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+ -->
+<!-- $Id$ -->
+<xweb xpath="/web-app" 
+      unless="comment()[contains(., 'Cocoon Block-Deployment Listener')]" 
+      insert-after="filter-mapping[last()]">
+
+  <!-- Cocoon Block-Deployment Listener -->
+  <listener>
+    <listener-class>org.apache.cocoon.blockdeployment.BlockDeploymentServletContextListener</listener-class>
+  </listener>
+</xweb>

Propchange: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/cocoon-block-deployment.xweb
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/cocoon-block-deployment.xweb
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/xpatch/cocoon-block-deployment.xweb
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message