cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r422205 - in /cocoon/trunk/blocks/cocoon-samples-style: ./ cocoon-samples-style-default/ cocoon-samples-style-default/src/ cocoon-samples-style-default/src/main/ cocoon-samples-style-default/src/main/resources/ cocoon-samples-style-default/...
Date Sat, 15 Jul 2006 12:12:40 GMT
Author: reinhard
Date: Sat Jul 15 05:12:39 2006
New Revision: 422205

URL: http://svn.apache.org/viewvc?rev=422205&view=rev
Log:
create a block with style resources - this way a block can be run independently from cocoon-webapp

Added:
    cocoon/trunk/blocks/cocoon-samples-style/
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/pom.xml   (with
props)
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/sitemap.xmap
  (with props)
    cocoon/trunk/blocks/cocoon-samples-style/pom.xml   (with props)

Added: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/pom.xml?rev=422205&view=auto
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/pom.xml (added)
+++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/pom.xml Sat Jul
15 05:12:39 2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 The Apache Software Foundation
+  
+  Licensed 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.
+-->
+<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>cocoon-samples-style-default</name>
+    
+  <groupId>org.apache.cocoon</groupId>
+  <artifactId>cocoon-samples-style-default</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  
+  <build>
+    <finalName>cocoon-samples-style-default</finalName>    
+    <plugins>
+      <plugin>
+        <groupId>org.apache.cocoon</groupId>
+        <artifactId>cocoon-deployer-plugin</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+      </plugin>
+      <plugin>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>maven-jetty6-plugin</artifactId>
+        <version>6.0.0beta10</version>
+        <configuration>
+          <connectors>
+            <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+              <port>8888</port>
+              <maxIdleTime>30000</maxIdleTime>
+            </connector>
+          </connectors>
+          <webAppSourceDirectory>target/cocoon-samples-style-default</webAppSourceDirectory>
+          <contextPath>/</contextPath>
+        </configuration>
+      </plugin>      
+    </plugins>
+  </build>  
+  
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-core</artifactId>
+      <version>2.2.0-SNAPSHOT</version>
+    </dependency>   
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-template-impl</artifactId>
+      <version>1.0.0-SNAPSHOT</version>
+    </dependency>
+  </dependencies>    
+  
+</project>

Propchange: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/pom.xml
------------------------------------------------------------------------------
    svn:keywords = 'Id'

Added: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/sitemap.xmap?rev=422205&view=auto
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/sitemap.xmap
(added)
+++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/sitemap.xmap
Sat Jul 15 05:12:39 2006
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 The Apache Software Foundation
+
+  Licensed 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:map="http://apache.org/cocoon/sitemap/1.0">
+  
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="**.css">
+        <map:read src="resources/{1}.css"/>
+      </map:match>
+      <map:match pattern="**.js">
+        <map:read src="resources/{1}.js"/>
+      </map:match>      
+    </map:pipeline>    
+    <map:pipeline>
+      <map:match pattern="**">
+        <map:generate src="{1}"/>
+        <map:serialize type="xml"/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+  
+</map:sitemap>
+

Propchange: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/sitemap.xmap
------------------------------------------------------------------------------
    svn:keywords = 'Id'

Added: cocoon/trunk/blocks/cocoon-samples-style/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/pom.xml?rev=422205&view=auto
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/pom.xml (added)
+++ cocoon/trunk/blocks/cocoon-samples-style/pom.xml Sat Jul 15 05:12:39 2006
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 The Apache Software Foundation
+
+  Licensed 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 413896 2006-06-13 13:56:00Z vgritsenko $
+    +-->
+<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">
+  
+  <parent>
+    <groupId>org.apache.cocoon</groupId>
+    <artifactId>cocoon-blocks-modules</artifactId>
+    <version>1-SNAPSHOT</version>
+  </parent>
+  
+  <modelVersion>4.0.0</modelVersion>
+  
+  <groupId>org.apache.cocoon</groupId>
+  <artifactId>cocoon-samples-style</artifactId>
+  <version>1-SNAPSHOT</version>
+    
+  <packaging>pom</packaging>
+  
+  <name>Cocoon samples styles</name>
+
+  <description></description>
+  
+  <modules>
+    <module>cocoon-samples-style-default</module>
+  </modules>
+</project>

Propchange: cocoon/trunk/blocks/cocoon-samples-style/pom.xml
------------------------------------------------------------------------------
    svn:keywords = 'Id'



Mime
View raw message