cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r673726 - in /cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample: pom.xml rcl.properties src/main/resources/COB-INF/sitemap.xmap src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml
Date Thu, 03 Jul 2008 16:02:15 GMT
Author: reinhard
Date: Thu Jul  3 09:02:15 2008
New Revision: 673726

URL: http://svn.apache.org/viewvc?rev=673726&view=rev
Log:
enable the usage of the Cocoon Maven plugin

Added:
    cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/rcl.properties   (with
props)
    cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml
  (with props)
Modified:
    cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/pom.xml
    cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/COB-INF/sitemap.xmap

Modified: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/pom.xml?rev=673726&r1=673725&r2=673726&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/pom.xml (original)
+++ cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/pom.xml Thu Jul  3 09:02:15
2008
@@ -17,12 +17,11 @@
   specific language governing permissions and limitations
   under the License.
 -->
-
-<!--
-  - @version $Id$
-  -->
+<!-- $Id$ -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
   <modelVersion>4.0.0</modelVersion>
+  <packaging>jar</packaging>
 
   <parent>
     <groupId>org.apache.cocoon</groupId>
@@ -33,8 +32,7 @@
 
   <artifactId>cocoon-eventcache-sample</artifactId>
   <version>1.0.0-SNAPSHOT</version>
-  <name>Eventcache Block Samples</name>
-  <packaging>jar</packaging>
+  <name>Cocoon Eventcache Block Samples</name>
 
   <dependencies>
     <dependency>
@@ -45,5 +43,17 @@
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-samples-style-default</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-flowscript-impl</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-servlet-service-components</artifactId>
+    </dependency>   
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+    </dependency> 
   </dependencies>
 </project>

Added: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/rcl.properties
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/rcl.properties?rev=673726&view=auto
==============================================================================
--- cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/rcl.properties (added)
+++ cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/rcl.properties Thu Jul
 3 09:02:15 2008
@@ -0,0 +1,21 @@
+#
+# 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.cocoon.eventcache.sample.servlet%classes-dir=./target/classes
+
+# eventcache-impl
+%classes-dir=../cocoon-eventcache-impl/target/classes
+%exclude-lib=org.apache.cocoon:cocoon-eventcache-impl

Propchange: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/rcl.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/rcl.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/rcl.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/COB-INF/sitemap.xmap?rev=673726&r1=673725&r2=673726&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/COB-INF/sitemap.xmap
Thu Jul  3 09:02:15 2008
@@ -88,7 +88,7 @@
         <map:redirect-to uri="demo?pageKey={request-param:pageKey}&amp;rand={random:x}"
/>
       </map:match>
       <map:match pattern="*">
-        <map:generate type="sample" src="eventcache.xml">
+        <map:generate type="event-cache-sample" src="eventcache.xml">
           <map:parameter name="DELAY_SECS" value="2" />
           <map:parameter name="DATE" value="{date:date}" />
           <map:parameter name="KEY" value="{request-param:pageKey}" />

Added: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml?rev=673726&view=auto
==============================================================================
--- cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml
(added)
+++ cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml
Thu Jul  3 09:02:15 2008
@@ -0,0 +1,33 @@
+<?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$ -->
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:util="http://www.springframework.org/schema/util"
+  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.5.xsd
+                           http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
+                           http://cocoon.apache.org/schema/configurator http://cocoon.apache.org/schema/configurator/cocoon-configurator-1.0.1.xsd">
+
+  <bean name="org.apache.cocoon.generation.Generator/event-cache-sample" class="org.apache.cocoon.samples.EventAwareGenerator"
+    scope="prototype">
+    <property name="saxParser" ref="org.apache.cocoon.core.xml.SAXParser" />
+    <property name="scriptManager" ref="org.apache.cocoon.template.script.ScriptManager"
/>
+    <property name="objectModel" ref="org.apache.cocoon.el.objectmodel.ObjectModel" />
   
+  </bean>
+
+</beans>
\ No newline at end of file

Propchange: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: cocoon/trunk/blocks/cocoon-eventcache/cocoon-eventcache-sample/src/main/resources/META-INF/cocoon/spring/cocoon-eventcache-sample.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message