You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2006/02/04 18:25:59 UTC

svn commit: r374890 - in /cocoon/trunk/cocoon-core-components: ./ pom.xml src/ src/main/ src/main/resources/ src/main/resources/META-INF/ src/main/resources/META-INF/block.xml src/main/resources/META-INF/core-components.xconf

Author: reinhard
Date: Sat Feb  4 09:25:52 2006
New Revision: 374890

URL: http://svn.apache.org/viewcvs?rev=374890&view=rev
Log:
create a core-components block

Added:
    cocoon/trunk/cocoon-core-components/   (with props)
    cocoon/trunk/cocoon-core-components/pom.xml
    cocoon/trunk/cocoon-core-components/src/
    cocoon/trunk/cocoon-core-components/src/main/
    cocoon/trunk/cocoon-core-components/src/main/resources/
    cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/
    cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/block.xml
    cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/core-components.xconf

Propchange: cocoon/trunk/cocoon-core-components/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Feb  4 09:25:52 2006
@@ -0,0 +1,5 @@
+
+target
+.classpath
+.project
+.wtpmodules

Added: cocoon/trunk/cocoon-core-components/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-core-components/pom.xml?rev=374890&view=auto
==============================================================================
--- cocoon/trunk/cocoon-core-components/pom.xml (added)
+++ cocoon/trunk/cocoon-core-components/pom.xml Sat Feb  4 09:25:52 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.
+-->
+<!--+
+  | @version $Id: pom.xml 368524 2006-01-13 00:11:43Z danielf $
+  |
+  +-->
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  
+  <parent>
+    <artifactId>cocoon</artifactId>
+    <groupId>org.apache.cocoon</groupId>
+    <version>2.2.0-SNAPSHOT</version>
+  </parent>
+  
+  <groupId>org.apache.cocoon</groupId>  
+  <artifactId>cocoon-core-components</artifactId>
+  <version>1.0-SNAPSHOT</version>  
+  
+  <packaging>jar</packaging>
+  <name>Cocoon Core Components</name>
+  
+</project>

Added: cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/block.xml?rev=374890&view=auto
==============================================================================
--- cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/block.xml (added)
+++ cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/block.xml Sat Feb  4 09:25:52 2006
@@ -0,0 +1,39 @@
+<?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. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+       id="org.apache.cocoon:cocoon-core-components:1.0-SNAPSHOT">
+
+  <name>cocoon-core-components</name>
+  <description href="http://cocoon.apache.org">
+    Cocoon Core Components
+  </description>
+  <state href="http://cocoon.apache.org/blocks/core/2.2/state.html" 
+         community="committed" 
+         interfaces="stable" 
+         implementation="stable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  
+  <components class="x">
+    <include src="META-INF/core-components.xconf"/>
+  </components>
+  
+  <implements>
+    <interface id="http://cocoon.apache.org/blocks/core-components/1.0"/>
+  </implements>
+  
+</block>
\ No newline at end of file

Added: cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/core-components.xconf
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/core-components.xconf?rev=374890&view=auto
==============================================================================
--- cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/core-components.xconf (added)
+++ cocoon/trunk/cocoon-core-components/src/main/resources/META-INF/core-components.xconf Sat Feb  4 09:25:52 2006
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2005 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.
+-->
+
+<components>
+
+  <include src="resource://org/apache/cocoon/cocoon.roles"/>
+
+  <xml-parser class="org.apache.excalibur.xml.impl.JaxpParser">
+    <parameter name="validate" value="false"/>
+    <parameter name="namespace-prefixes" value="false"/>
+    <parameter name="stop-on-warning" value="true"/>
+    <parameter name="stop-on-recoverable-error" value="true"/>
+    <parameter name="reuse-parsers" value="false"/>
+  </xml-parser>
+
+  <xmlizer/>
+
+  <source-resolver/>
+
+  <fam/>
+
+  <source-factories>
+    <component-instance class="org.apache.excalibur.source.impl.ResourceSourceFactory" name="resource"/>
+    <component-instance class="org.apache.cocoon.components.source.impl.ContextSourceFactory" name="context"/>
+    <component-instance class="org.apache.excalibur.source.impl.FileSourceFactory" name="file"/>
+    <component-instance class="org.apache.excalibur.source.impl.URLSourceFactory" name="*"/>
+  </source-factories>
+  
+  <generators default="file">
+    <generator name="file" src="org.apache.cocoon.generation.FileGenerator"/>
+  </generators>
+
+  <transformers default="xslt">
+    <transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"/>
+  </transformers>
+
+  <serializers default="xml">
+    <serializer mime-type="text/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer" />
+  </serializers>
+
+  <matchers default="wildcard">
+    <matcher name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/>
+  </matchers>
+
+  <pipes default="noncaching">
+    <pipe name="noncaching" src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline"/>
+  </pipes>
+  
+</components>