You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2006/12/25 21:21:32 UTC

svn commit: r490167 - in /cocoon/trunk/core/cocoon-xml: ./ cocoon-xml-resolver/ cocoon-xml-resolver/src/ cocoon-xml-resolver/src/main/ cocoon-xml-resolver/src/main/java/ cocoon-xml-resolver/src/main/resources/ cocoon-xml-resolver/src/main/resources/MET...

Author: cziegeler
Date: Mon Dec 25 12:21:31 2006
New Revision: 490167

URL: http://svn.apache.org/viewvc?view=rev&rev=490167
Log:
Start new module containing predefined resolver

Added:
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/   (with props)
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/pom.xml   (with props)
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/java/
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/CatalogManager.properties   (with props)
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/META-INF/
    cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/META-INF/cocoon/
Modified:
    cocoon/trunk/core/cocoon-xml/pom.xml

Propchange: cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Dec 25 12:21:31 2006
@@ -0,0 +1,7 @@
+*.iml
+target
+.classpath
+.project
+.wtpmodules
+.deployables
+build.properties

Added: cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/pom.xml?view=auto&rev=490167
==============================================================================
--- cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/pom.xml (added)
+++ cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/pom.xml Mon Dec 25 12:21:31 2006
@@ -0,0 +1,42 @@
+<?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$
+    |
+    +-->
+<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-xml</artifactId>
+    <version>1-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>cocoon-xml-resolver</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>Cocoon XML Resolver</name>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-xml-impl</artifactId>
+      <version>1.0.0-SNAPSHOT</version>
+    </dependency>
+  </dependencies>
+</project>

Propchange: cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/CatalogManager.properties
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/CatalogManager.properties?view=auto&rev=490167
==============================================================================
--- cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/CatalogManager.properties (added)
+++ cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/CatalogManager.properties Mon Dec 25 12:21:31 2006
@@ -0,0 +1,70 @@
+# CatalogManager.properties
+
+# 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.
+
+#
+# This is the default properties file for Apache Cocoon. This facilitates local
+# configuration of application-specific catalogs. You can also use cocoon.xconf
+# to over-ride or supplement these settings.
+#
+# Note: The filesystem directory that contains this properties file must be
+# available on the Java classpath. The Cocoon build automatically does this.
+#
+# See the Apache Cocoon documentation
+# http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html
+# and thence the Resolver API and accompanying documentation.
+
+# verbosity ... level of messages for status/debug (messages go to STDOUT)
+# The following messages are provided ...
+#  0 = none
+#  1 = ?
+#  2 = 1+, Loading catalog, Resolved public, Resolved system
+#  3 = 2+, Catalog does not exist, resolvePublic, resolveSystem
+#  10 = 3+, List all catalog entries when loading a catalog
+# (Cocoon also logs the "Resolved public" messages.) 
+# TODO: determine all messages at each level
+#
+verbosity=1
+
+# catalogs ... list of additional catalogs to load
+#  Note that Apache Cocoon will automatically load its own default catalog
+#  from WEB-INF/cocoon/entities/catalog
+# use full pathnames
+# pathname separator is always semi-colon (;) regardless of operating system
+# directory separator is always slash (/) regardless of operating system
+#
+#catalogs=/path/to/local/catalog
+catalogs=
+
+# prefer ... we prefer to use Public Identifiers for entity resolution
+#
+prefer=public
+
+# static-catalog ... see the Sun doco
+#  TODO: ? what impact does this setting have for Apache Cocoon
+#
+static-catalog=yes
+
+# allow-oasis-xml-catalog-pi ... see the Sun doco
+#  TODO: ? what impact does this setting have for Apache Cocoon
+#
+allow-oasis-xml-catalog-pi=yes
+
+# catalog-class-name ... specify an alternate class name to use
+#  Apache Cocoon does not need this setting - we already have a named class
+#
+# catalog-class-name=com.sun.resolver.Resolver
+

Propchange: cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/CatalogManager.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/core/cocoon-xml/cocoon-xml-resolver/src/main/resources/CatalogManager.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: cocoon/trunk/core/cocoon-xml/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-xml/pom.xml?view=diff&rev=490167&r1=490166&r2=490167
==============================================================================
--- cocoon/trunk/core/cocoon-xml/pom.xml (original)
+++ cocoon/trunk/core/cocoon-xml/pom.xml Mon Dec 25 12:21:31 2006
@@ -35,5 +35,6 @@
   <modules>
     <module>cocoon-xml-api</module>
     <module>cocoon-xml-impl</module>
+    <module>cocoon-xml-resolver</module>
   </modules>
 </project>