You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by fl...@apache.org on 2010/11/11 13:22:08 UTC

svn commit: r1033911 - in /lenya/trunk/org.apache.lenya.core.cocoon: ./ src/ src/main/ src/main/java/ src/main/resources/ src/main/resources/COB-INF/ src/main/resources/META-INF/ src/main/resources/META-INF/cocoon/ src/main/resources/META-INF/cocoon/sp...

Author: florent
Date: Thu Nov 11 12:22:08 2010
New Revision: 1033911

URL: http://svn.apache.org/viewvc?rev=1033911&view=rev
Log:
-a new module for all cocoon related stuff

Added:
    lenya/trunk/org.apache.lenya.core.cocoon/
    lenya/trunk/org.apache.lenya.core.cocoon/pom.xml
    lenya/trunk/org.apache.lenya.core.cocoon/rcl.properties
    lenya/trunk/org.apache.lenya.core.cocoon/src/
    lenya/trunk/org.apache.lenya.core.cocoon/src/main/
    lenya/trunk/org.apache.lenya.core.cocoon/src/main/java/
    lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/
    lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/COB-INF/
    lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/META-INF/
    lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/META-INF/cocoon/
    lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/META-INF/cocoon/spring/
    lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml

Added: lenya/trunk/org.apache.lenya.core.cocoon/pom.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.cocoon/pom.xml?rev=1033911&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.cocoon/pom.xml (added)
+++ lenya/trunk/org.apache.lenya.core.cocoon/pom.xml Thu Nov 11 12:22:08 2010
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.lenya</groupId>
+    <artifactId>lenya-parent</artifactId>
+    <version>2.2.0-SNAPSHOT</version>
+    <relativePath>../org.apache.lenya.parent/pom.xml</relativePath>
+  </parent>
+  
+  <groupId>org.apache.lenya</groupId>
+  <artifactId>lenya-core-cocoon</artifactId>
+  <packaging>jar</packaging>
+  <name>Apache Lenya Core Cocoon components</name>
+  <description>Contains core cocoon components defined for Lenya</description>
+  
+  <dependencies>
+  
+  <!-- TODO : see if all theses dependencies are required -->
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-servlet-service-components</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-template-impl</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-flowscript-impl</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.4</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: lenya/trunk/org.apache.lenya.core.cocoon/rcl.properties
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.cocoon/rcl.properties?rev=1033911&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.cocoon/rcl.properties (added)
+++ lenya/trunk/org.apache.lenya.core.cocoon/rcl.properties Thu Nov 11 12:22:08 2010
@@ -0,0 +1,17 @@
+#
+# 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.
+#
+org.apache.lenya.lenya-core-cocoon-components.service%classes-dir=./target/classes
\ No newline at end of file

Added: lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml?rev=1033911&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml (added)
+++ lenya/trunk/org.apache.lenya.core.cocoon/src/main/resources/META-INF/cocoon/spring/block-servlet-service.xml Thu Nov 11 12:22:08 2010
@@ -0,0 +1,32 @@
+<?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
+  und
+-->
+<!-- $Id: block-servlet-service.xml 642117 2008-03-28 08:03:19Z reinhard $ -->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:servlet="http://cocoon.apache.org/schema/servlet"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+                           http://cocoon.apache.org/schema/servlet http://cocoon.apache.org/schema/servlet/cocoon-servlet-1.0.xsd">
+
+  <!--  exemple from the archetype -->
+  <bean name="org.apache.lenya.lenya-core-cocoon-components.service" class="org.apache.cocoon.sitemap.SitemapServlet">
+    <servlet:context mount-path="/lenya-core-cocoon-components" context-path="blockcontext:/lenya-core-cocoon-components/"/>
+  </bean>
+
+</beans>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org