debian/0000775000000000000000000000000012200023507007157 5ustar debian/patches/0000775000000000000000000000000012200014203010577 5ustar debian/patches/01_Tomcat4_Digester1_7_Workaround.patch0000664000000000000000000000420712200014203020006 0ustar diff -Nur libcommons-digester-java-1.8/src/java/org/apache/commons/digester/Digester.java libcommons-digester-java-1.8.new/src/java/org/apache/commons/digester/Digester.java --- libcommons-digester-java-1.8/src/java/org/apache/commons/digester/Digester.java 2007-09-20 21:22:48.000000000 +0530 +++ libcommons-digester-java-1.8.new/src/java/org/apache/commons/digester/Digester.java 2007-09-20 21:28:43.000000000 +0530 @@ -199,6 +199,12 @@ protected String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage"; + /** + * The JAXP 1.2 property required to set up the schema location. + * Removed in digester 1.6 - introduced for tomcat4 backport + */ + private static final String JAXP_SCHEMA_SOURCE = + "http://java.sun.com/xml/jaxp/properties/schemaSource"; /** * The Locator associated with our parser. @@ -714,8 +720,32 @@ parser = getFactory().newSAXParser(); } } catch (Exception e) { - log.error("Digester.getParser: ", e); - return (null); + // this apparently fails for tomcat4 + // fallback to old digester 1.5 behaviour + // #### Begin tomcat4 workaround ##### + // Create a new parser + try { + parser = getFactory().newSAXParser(); + } catch (Exception e1) { + log.error("Workarounderror Digester.getParser: ", e1); + return (null); + } + + // Configure standard properties and return the new instance + try { + if (schemaLocation != null) { + setProperty(JAXP_SCHEMA_LANGUAGE, schemaLanguage); + setProperty(JAXP_SCHEMA_SOURCE, schemaLocation); + } + } catch (Exception e2) { + log.warn("Exception in workaround" + e2); + } + return (parser); + // #### End tomcat4 workaround ##### + + // Disabled the normally thrown Exception + // log.error("Digester.getParser: ", e); + // return (null); } return (parser); debian/patches/series0000664000000000000000000000005012200014203012007 0ustar 01_Tomcat4_Digester1_7_Workaround.patch debian/rules0000775000000000000000000000174612200022463010247 0ustar #!/usr/bin/make -f # debian/rules file for libcommons-digester-java (uses cdbs) include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk PACKAGE := $(DEB_SOURCE_PACKAGE) VERSION := $(DEB_UPSTREAM_VERSION) JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_ARGS := -Djavax.xml.transform.TransformerFactory=gnu.xml.libxmlj.transform.TransformerFactoryImpl -Dtest.failonerror=false # Additional JARs to add to the class path, either full path or just the # basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted DEB_JARS := commons-collections3 commons-logging commons-beanutils junit ant-junit DEB_ANT_BUILD_TARGET := dist DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt binary-post-install/$(PACKAGE):: mh_installpoms -p$(PACKAGE) mh_installjar -p$(PACKAGE) -l pom.xml dist/commons-digester.jar clean:: mh_clean -rm -rf debian/tmp get-orig-source: -uscan --upstream-version 0 --rename debian/watch0000664000000000000000000000020512200014260010201 0ustar version=3 http://archive.apache.org/dist/commons/digester/source/ commons-digester-(1\.[\d\.]+)-src.tar.gz debian debian/orig-tar.sh debian/orig-tar.sh0000775000000000000000000000071712200014203011240 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' UDIR=commons-digester-$2-src DDIR=libcommons-digester-java-$2.orig # Remove ^M CRLF line terminators tar -z -x -f $3 mv $UDIR $DDIR (cd $DDIR; find -type f|xargs perl -pi -e 's/\r$//g') GZIP=--best tar -c -z -f $3 $DDIR rm -rf $DDIR $UDIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $3 $origDir echo "moved $3 to $origDir" fi exit 0 debian/libcommons-digester-java-doc.docs0000664000000000000000000000001612200014203015447 0ustar dist/docs/api debian/changelog0000664000000000000000000001423612200022561011036 0ustar libcommons-digester-java (1.8.1-4) unstable; urgency=low * debian/control: - Use canonical URLs for the Vcs-* fields - Removed Michael Koch from the uploaders (Closes: #654052) - Updated Standards-Version to 3.9.4 (no changes) * debian/rules: - Install the upstream changelog - Improved the clean target * debian/watch: Updated to check archive.apache.org -- Emmanuel Bourg Mon, 05 Aug 2013 23:39:11 +0200 libcommons-digester-java (1.8.1-3) unstable; urgency=low * Team upload. * Remove Java runtime Depends. * Switch to source format 3.0. -- Torsten Werner Sun, 07 Aug 2011 02:05:23 +0200 libcommons-digester-java (1.8.1-2) unstable; urgency=low * Upload to unstable. -- Torsten Werner Sun, 09 Aug 2009 12:02:15 +0200 libcommons-digester-java (1.8.1-1) experimental; urgency=low [ Ludovic Claude ] * New upstream release, add myself to Uploaders * Fix debian/watch to restrict watch on 1.x releases, as 2.0 is breaking backwards compatibility * Add the Maven POM to the package, * Add a Build-Depends-Indep dependency on maven-repo-helper, ant-optional, junit * Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository [ Emmanuel Bourg ] * Update of the URLs * Rename Jakarta Commons to Apache Commons [ Torsten Werner ] * Convert debian/copyright to UTF-8. * Upload to experimental. -- Torsten Werner Sun, 12 Jul 2009 23:09:28 +0200 libcommons-digester-java (1.8-3) unstable; urgency=low * Convert to default-jre/jdk, thanks to Chris Cheney for the patch (Closes: #508973) * Change section to java -- Varun Hiremath Thu, 07 May 2009 20:02:54 -0400 libcommons-digester-java (1.8-2) unstable; urgency=low [ Kumar Appaiah ] * debian/control: + Update maintainer's e-mail addresses. + Standards version updated (no changes needed). + Use Vcs-Browser and Vcs-Svn and update locations. [ Varun Hiremath ] * Split out api docs into a separate -doc package (Closes: #506356) * Remove full text of Apache-2 license from debian/copyright -- Varun Hiremath Sat, 06 Dec 2008 20:59:40 -0500 libcommons-digester-java (1.8-1) unstable; urgency=low [ Kumar Appaiah ] * debian/control: + Add XS-Vcs-{Svn,Browser}. + Add Homepage field. * Add watch file. [ Varun Hiremath ] * New upstream release * debian/control: + Add myself and Kumar Appaiah to Uploaders. + move cdbs and debhelper to Build-Depends. + modify Description. * debian/compat: switch to 5 * remove links file from debian/ * debian/rules: + Use DEB_UPSTREAM_VERSION to install jar + Create a versioned symbolic link to the jar. + implement get-orig-source * Add debian/orig-tar.sh to remove CRLF line terminators from upstream files. * Update debian/watch to call debian/orig-tar.sh -- Varun Hiremath Thu, 20 Sep 2007 22:02:53 +0530 libcommons-digester-java (1.7-3) unstable; urgency=low * Use java-gcj-compat instead of kaffe * Moved Build-Depends-Indep to Build-Depends * Removed Wolfgang from Uploaders * Updated Standards-Version -- Michael Koch Sun, 17 Jun 2007 14:29:25 -0100 libcommons-digester-java (1.7-2) unstable; urgency=low * Kaffe compiler transition * Remove Takashi from uploaders to reflect current maintainership -- Wolfgang Baer Sun, 15 Jan 2006 16:51:19 +0100 libcommons-digester-java (1.7-1) unstable; urgency=low * New upstream version + Updated copyright to Apache 2.0 License * libant1.6-java to ant transition * Upgraded libcommons-beanutils-java dependency to >= 1.7 * Added java1-runtime as alternative to kaffe * Generated and included the javadoc - register with doc-base * Added myself to Uploaders * Updated Standards-Version to 3.6.2 (no changes) -- Wolfgang Baer Sat, 01 Oct 2005 20:03:28 +0200 libcommons-digester-java (1.5.0.1-4) unstable; urgency=low * Made it a non-native package * Fixed Depends on kaffe (Closes: #302012) * Added myself to Uploaders * Updated Standards-Version to 3.6.1 -- Michael Koch Tue, 12 Apr 2005 07:56:33 +0000 libcommons-digester-java (1.5.0.1-3) unstable; urgency=low * rebuild with J2SDK1.3 comparible mode.(closes: #265253) -- Takashi Okamoto Fri, 13 Aug 2004 01:59:24 +0900 libcommons-digester-java (1.5.0.1-2) unstable; urgency=low * fixed FTBFS. (closes: #251432). -- Takashi Okamoto Sat, 31 Jul 2004 12:19:52 +0900 libcommons-digester-java (1.5.0.1-1) unstable; urgency=low * fixed original source can't find debian repository.(closes:#251432) This release is same as commons-digester 1.5. * change source name commons-digester to libcommons-digester-java. -- Takashi Okamoto Tue, 27 Jul 2004 01:20:06 +0900 libcommons-digester-java (1.5-3) unstable; urgency=low * Move to main. * use cdbs to build package. * remove javadoc to avoid lack of main javadoc tool. -- Takashi Okamoto Sat, 1 May 2004 21:22:22 +0900 libcommons-digester-java (1.5-2) unstable; urgency=low * fixed extra blank in control file.(closes: #217921) * summary and description are corrected. -- Takashi Okamoto Mon, 29 Dec 2003 00:15:58 +0900 libcommons-digester-java (1.5-1) unstable; urgency=low * New upstream release -- Takashi Okamoto Sun, 31 Aug 2003 20:26:57 +0900 libcommons-digester-java (1.4-1) unstable; urgency=low * New upstream release -- Takashi Okamoto Sat, 8 Feb 2003 10:26:42 +0900 libcommons-digester-java (1.3-2) unstable; urgency=low * fixed FTBFS and minor bugs.(closes: #166054) -- Takashi Okamoto Sat, 26 Oct 2002 20:10:06 +0900 libcommons-digester-java (1.3-1) unstable; urgency=low * New upstream. -- Takashi Okamoto Mon, 14 Oct 2002 21:39:02 +0900 libcommons-digester-java (1.1.1-1) unstable; urgency=low * Initial Release. -- Takashi Okamoto Mon, 14 Oct 2002 21:38:55 +0900 Local variables: mode: debian-changelog End: debian/source/0000775000000000000000000000000012200014203010450 5ustar debian/source/format0000664000000000000000000000001412200014203011656 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000312200014203010347 0ustar 5 debian/maven.rules0000664000000000000000000000003612200014203011331 0ustar junit junit jar s/3\..*/3.x/ debian/copyright0000664000000000000000000000252512200014203011107 0ustar This package was debianized by Takashi Okamoto on Mon, 5 Nov 2001 08:15:04 +0900. It was downloaded from Upstream Authors: Craig McClanahan , Robert Burrell Donkin , Scott Sanders , James Strachan , Jason van Zyl , Tim OBrien , Jean-Francois Arcand , Simon Kitching , Rahul Akolkar , Bradley M. Handy , Christopher Lenz, Ted Husted, David H. Martin, Henri Chen, Janek Bogucki, Mark Huisman, Paul Jack, Anton Maslovsky, Matt Cleveland, Gabriele Carcassi, Wendy Smoak , Kevin Ross Copyright: © 2001-2009 The Apache Software Foundation License: Apache 2.0 On Debian systems the full text of the Apache License can be found in `/usr/share/common-licenses/Apache-2.0'. debian/libcommons-digester-java.poms0000664000000000000000000000002412200014203014731 0ustar pom.xml --no-parent debian/TODO0000664000000000000000000000006212200014203007636 0ustar - package upstream version 3 which breaks the API debian/libcommons-digester-java-doc.doc-base0000664000000000000000000000060212200014203016175 0ustar Document: libcommons-digester-java Title: Programmer API for libcommons-digester-java Author: Apache Digester Team Abstract: Javadocs programmer API of libcommons-digester-java, a rule based XML Java object mapping tool. Section: Programming Format: HTML Index: /usr/share/doc/libcommons-digester-java-doc/api/index.html Files: /usr/share/doc/libcommons-digester-java-doc/api/*.html debian/control0000664000000000000000000000266412200017430010570 0ustar Source: libcommons-digester-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Kumar Appaiah , Emmanuel Bourg Build-Depends: debhelper (>= 5), cdbs (>= 0.4.21), default-jdk Build-Depends-Indep: maven-repo-helper, ant, ant-optional, libcommons-beanutils-java, libcommons-logging-java, junit Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libcommons-digester-java Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libcommons-digester-java Homepage: http://commons.apache.org/digester/ Package: libcommons-digester-java Architecture: all Depends: libcommons-beanutils-java (>= 1.7-1), libcommons-logging-java, ${misc:Depends} Suggests: libcommons-digester-java-doc Description: Rule based XML Java object mapping tool Commons-Digester converts XML to a Java object by a set of mapping rules. A rich set of predefined rules is available for your use. You can also create your own rules. Package: libcommons-digester-java-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Rule based XML Java object mapping tool (documentation) Commons-Digester converts XML to a Java object by a set of mapping rules. A rich set of predefined rules is available for your use. You can also create your own rules. . This package contains the documentation.