forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r592080 - in /forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/forrest/ src/main/java/org/apache/forrest/locationmap/ src/main/res...
Date Mon, 05 Nov 2007 16:48:49 GMT
Author: thorsten
Date: Mon Nov  5 08:48:47 2007
New Revision: 592080

URL: http://svn.apache.org/viewvc?rev=592080&view=rev
Log:
FOR-1057 Porting of the locationmap to a cocoon2.2 block. Work in progress since the cocoon://
protocol is deprecated and it will not work as we used it till now

Added:
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/pom.xml   (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/rcl.properties   (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/java/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/java/org/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/java/org/apache/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/java/org/apache/forrest/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/java/org/apache/forrest/locationmap/
      - copied from r590635, forrest/trunk/main/java/org/apache/forrest/locationmap/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/locationmap.xml
  (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/external/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/external/README.txt
  (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/internal/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/internal/README.txt
  (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/sitemap.xmap
  (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/test.xml
  (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/avalon/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/avalon/forrest-locationmap.xconf
  (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/demo-application-context.xml
  (with props)
    forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/servlet-service.xml
  (with props)

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/pom.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/pom.xml?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/pom.xml (added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/pom.xml Mon Nov  5 08:48:47 2007
@@ -0,0 +1,116 @@
+<?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.
+-->
+<!--+
+    | @version $Id: pom.xml 579823 2007-09-26 22:09:12Z reinhard $
+    +-->
+<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>
+
+  <name>locationmap</name>
+  <groupId>org.apache.forrest</groupId>
+  <artifactId>locationmap</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-core</artifactId>
+      <version>2.2.0-RC2</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-servlet-service-components</artifactId>
+      <version>1.0.0-RC1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-template-impl</artifactId>
+      <version>1.0.0-RC2</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-flowscript-impl</artifactId>
+      <version>1.0.0-RC2</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.4</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.cocoon</groupId>
+        <artifactId>cocoon-maven-plugin</artifactId>
+        <version>1.0.0-M1</version>
+        <executions>
+          <execution>
+            <id>rcl</id>
+            <phase>compile</phase>
+            <goals>
+              <goal>rcl</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>maven-jetty-plugin</artifactId>
+        <version>6.1.5</version>
+        <configuration>
+          <connectors>
+            <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+              <port>8888</port>
+              <maxIdleTime>30000</maxIdleTime>
+            </connector>
+          </connectors>
+          <webAppSourceDirectory>${project.build.directory}/rcl/webapp</webAppSourceDirectory>
+          <contextPath>/</contextPath>
+          <systemProperties>
+            <systemProperty>
+              <name>org.apache.cocoon.mode</name>
+              <value>dev</value>
+            </systemProperty>
+          </systemProperties>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.1</version>
+        <configuration>
+          <archive>
+            <manifestEntries>
+              <Cocoon-Block-Name>${pom.artifactId}</Cocoon-Block-Name>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-eclipse-plugin</artifactId>
+        <version>2.4</version>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/rcl.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/rcl.properties?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/rcl.properties (added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/rcl.properties Mon Nov  5 08:48:47
2007
@@ -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.forrest.locationmap.service%classes-dir=./target/classes
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/rcl.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/locationmap.xml?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/locationmap.xml
(added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/locationmap.xml
Mon Nov  5 08:48:47 2007
@@ -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 under the License.
+-->
+<!-- Default Forrest locationmap -->
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+  <components>
+    <matchers default="lm">
+      <matcher 
+        name="lm" 
+        src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+    </matchers>
+  </components>
+  <locator>
+    <match pattern="demo">
+      <location src="test.xml" />
+    </match>
+  </locator>
+</locationmap>

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/locationmap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/external/README.txt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/external/README.txt?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/external/README.txt
(added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/external/README.txt
Mon Nov  5 08:48:47 2007
@@ -0,0 +1,7 @@
+This is a dummy file provided to avoid Maven archetype plugin's limitation.
+
+Archetype plugin does not create empty directory structure:
+"At this point one can only specify individual files to be created but not empty directories."
+(http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html)
+
+You can safely remove this file at any time.
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/external/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/internal/README.txt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/internal/README.txt?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/internal/README.txt
(added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/internal/README.txt
Mon Nov  5 08:48:47 2007
@@ -0,0 +1,7 @@
+This is a dummy file provided to avoid Maven archetype plugin's limitation.
+
+Archetype plugin does not create empty directory structure:
+"At this point one can only specify individual files to be created but not empty directories."
+(http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html)
+
+You can safely remove this file at any time.
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/resource/internal/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/sitemap.xmap?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/sitemap.xmap
(added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/sitemap.xmap
Mon Nov  5 08:48:47 2007
@@ -0,0 +1,44 @@
+<?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.
+-->
+<map:sitemap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://apache.org/cocoon/sitemap/1.0 http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd"
+ xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:pipelines>
+    <map:pipeline id="lm">
+      <map:match pattern="locationmap.xml">
+        <map:generate src="locationmap.xml"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      <map:match pattern="test">
+        <map:generate src="{lm:demo}"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      <map:match pattern="test2">
+        <map:generate src="lm://demo"/>
+        <map:serialize type="xml"/>
+      </map:match>
+    </map:pipeline>
+
+    <map:pipeline id="service">
+      <!-- Put your servlet service matchers here.
+        More details: http://cocoon.zones.apache.org/daisy/cdocs-site-main/g2/1345.html -->
+    </map:pipeline>
+  </map:pipelines>
+
+</map:sitemap>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/test.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/test.xml?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/test.xml
(added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/test.xml
Mon Nov  5 08:48:47 2007
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<test>
+  <justTesting/>
+</test>

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/COB-INF/test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/avalon/forrest-locationmap.xconf
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/avalon/forrest-locationmap.xconf?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/avalon/forrest-locationmap.xconf
(added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/avalon/forrest-locationmap.xconf
Mon Nov  5 08:48:47 2007
@@ -0,0 +1,37 @@
+<?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.
+-->
+<!-- SVN $Id: cocoon-core-additional-sample-modules-input.xconf 588433 2007-10-26 00:12:56Z
vgritsenko $ -->
+<components>
+  
+  <input-modules>
+    
+    <!-- LocationMap is used to map one URL to another, allowing content to be stored
anywhere -->
+    <component-instance class="org.apache.forrest.locationmap.LocationMapModule"
+      logger="core.modules.mapper.lm" name="lm">
+      <file src="cocoon://locationmap.xml"/>
+      <cacheable>true</cacheable>
+      <cache-lifespan>100000</cache-lifespan>
+    </component-instance>
+  </input-modules>
+  <source-factories>
+    <component-instance
+      class="org.apache.forrest.locationmap.source.impl.LocationmapSourceFactory"
+      name="lm"/>
+  </source-factories>
+  
+</components>

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/avalon/forrest-locationmap.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/demo-application-context.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/demo-application-context.xml?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/demo-application-context.xml
(added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/demo-application-context.xml
Mon Nov  5 08:48:47 2007
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN"
+    "http://www.springframework.org/dtd/spring-beans-2.0.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.
+-->
+<beans/>

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/demo-application-context.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/servlet-service.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/servlet-service.xml?rev=592080&view=auto
==============================================================================
--- forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/servlet-service.xml
(added)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/servlet-service.xml
Mon Nov  5 08:48:47 2007
@@ -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
+  und
+-->
+<!--+
+    | @version $Id: servlet-service.xml 578865 2007-09-24 16:09:46Z 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.0.xsd
+  http://cocoon.apache.org/schema/servlet http://cocoon.apache.org/schema/servlet/cocoon-servlet-1.0.xsd">
+
+  <bean id="org.apache.forrest.locationmap.service" class="org.apache.cocoon.sitemap.SitemapServlet">
+    <servlet:context mount-path="/locationmap" context-path="blockcontext:/locationmap/"/>
+  </bean>
+
+</beans>

Propchange: forrest/trunk/whiteboard/cocoon-2.2-blocks/locationmap/src/main/resources/META-INF/cocoon/spring/servlet-service.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message