[libxml-commons-resolver1.1-java] 06/35: added the catalog configuration file from upstream

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jun 19 12:35:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libxml-commons-resolver1.1-java.

commit 941329a881956833e5afbc258a35ce5f20af04c2
Author: Arnaud Vandyck <avdyk at debian.org>
Date:   Sat Oct 9 12:53:04 2004 +0000

    added the catalog configuration file from upstream
---
 debian/CatalogManager.properties | 61 ++++++++++++++++++++++++++++++++++++++++
 debian/README.Debian             | 17 ++++++++++-
 debian/changelog                 |  6 ++++
 debian/install                   |  1 +
 4 files changed, 84 insertions(+), 1 deletion(-)

diff --git a/debian/CatalogManager.properties b/debian/CatalogManager.properties
new file mode 100644
index 0000000..29826b8
--- /dev/null
+++ b/debian/CatalogManager.properties
@@ -0,0 +1,61 @@
+######################################################################## 
+# CatalogManager provides an interface to the catalog properties.
+# Properties can come from two places: from system properties or
+# from a CatalogManager.properties file. This class provides a
+# transparent interface to both, with system properties preferred 
+# over property file values.
+
+#######################################################################
+# Catalog Files:
+# The semicolon-delimited list of catalog files.
+# Example: catalogs=./xcatalog;/share/doctypes/catalog
+
+catalogs=/etc/xml/catalog
+
+#######################################################################
+# Relative Catalogs:
+# If false, relative catalog URIs are made absolute with respect to the
+# base URI of the CatalogManager.properties file. This setting only 
+# applies to catalog URIs obtained from the catalogs property in the
+# CatalogManager.properties file
+# Example: relative-catalogs = [yes|no]
+
+relative-catalogs=yes
+
+#######################################################################
+# Verbosity:
+# If non-zero, the Catalog classes will print informative and debugging
+# messages. The higher the number, the more messages.
+# Example: verbosity = [0..99]
+
+verbosity=0
+
+#######################################################################
+# Prefer:
+# Which identifier is preferred, "public" or "system"?
+# Example: xml.catalog.prefer = [public|system]
+
+prefer=system
+
+#######################################################################
+# Static-catalog:
+# Should a single catalog be constructed for all parsing, or should a
+# different catalog be created for each parser?
+# Example: static-catalog = [yes|no]
+
+static-catalog=yes
+
+#######################################################################
+# Allow-oasis-xml-catalog-pi
+# If the source document contains "oasis-xml-catalog" processing 
+# instructions, should they be used?
+# Example: allow-oasis-xml-catalog-pi = [yes|no]
+
+allow-oasis-xml-catalog-pi=yes
+
+#######################################################################
+# catalog-class-name
+# If you're using the convenience classes 
+# org.apache.xml.resolver.tools.*, this setting allows you to specify
+# an alternate class name to use for the underlying catalog.
+# Example: catalog-class-name=org.apache.xml.resolver.Resolver
diff --git a/debian/README.Debian b/debian/README.Debian
index daeaf55..5f13b02 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -16,4 +16,19 @@ Apache XML Commons Resolver for Debian
   because there are no tools for this in the Debian main section. The
   pre-built version from the distribution archive is used instead.
 
--- Stefan Gybas <sgybas at debian.org>
+- This package installs a CatalogManager.properties file in the
+  /etc/xml directory. Among other things, the CatalogManager.properties
+  file tells the resolver where to find XML catalog files to use.
+  Debian uses a single master catalog file -- /etc/xml/catalog -- so the
+  CatalogManager.properties that this package installs points to that file.
+
+  In order for the resolver to be able to find and use the
+  CatalogManager.properties files, you need to include the
+  *directory* that contains it -- the /etc/xml directory -- in your Java
+  classpath, either by specifying it on the Java command-line or via
+  the CLASSPATH environment variable:
+
+    export CLASSPATH=/etc/xml:$CLASSPATH
+
+ -- Stefan Gybas <sgybas at debian.org>,
+    Arnaud Vandyck <avdyk at debian.org>
diff --git a/debian/changelog b/debian/changelog
index f7413c8..0fbfe8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libxml-commons-resolver1.1-java (1.1-4) unstable; urgency=low
+
+  * added CatalogManager.properties to /etc/xml (closes: #268786)
+
+ -- Arnaud Vandyck <avdyk at debian.org>  Sat,  9 Oct 2004 14:03:19 +0200
+
 libxml-commons-resolver1.1-java (1.1-3) unstable; urgency=low
 
   * added libjaxp1.2-java to the build-dep and to the CLASSPATH because
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..85f3e72
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+debian/CatalogManager.properties /etc/xml

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libxml-commons-resolver1.1-java.git



More information about the pkg-java-commits mailing list