[libcommons-digester-java] 01/39: Initial revision
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jan 15 14:26:06 UTC 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libcommons-digester-java.
commit 6d804885923dc4e0f64838225d9ab03e3d7ba2ee
Author: Takashi Okamoto <tora at debian.org>
Date: Sun Nov 10 07:04:54 2002 +0000
Initial revision
---
build.xml | 338 +++++++++++++++++++++++++++++++
debian/changelog | 21 ++
debian/control | 22 ++
debian/copyright | 71 +++++++
debian/dirs | 1 +
debian/docs | 1 +
debian/libcommons-digester-java-doc.docs | 2 +
debian/libcommons-digester-java.links | 1 +
debian/rules | 97 +++++++++
9 files changed, 554 insertions(+)
diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..f5fe6cd
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,338 @@
+<project name="Digester" default="compile" basedir=".">
+
+
+<!--
+ "Digester" component of the Jakarta Commons Subproject
+ $Id$
+-->
+
+
+<!-- ========== Initialize Properties ===================================== -->
+
+
+ <property file="build.properties"/> <!-- Component local -->
+ <property file="../build.properties"/> <!-- Commons local -->
+ <property file="${user.home}/build.properties"/> <!-- User local -->
+
+
+<!-- ========== External Dependencies ===================================== -->
+
+
+ <!-- The directories corresponding to your necessary dependencies -->
+ <property name="jaxp.home" value="/usr/local/jaxp1.1"/>
+ <property name="junit.home" value="/usr/local/junit3.7"/>
+ <property name="commons.home" value=".."/>
+ <property name="beanutils.home" value="${commons.home}/beanutils"/>
+ <property name="collections.home" value="${commons.home}/collections"/>
+ <property name="logging.home" value="${commons.home}/logging"/>
+
+
+<!-- ========== Derived Values ============================================ -->
+
+
+ <!-- The locations of necessary jar files -->
+ <property name="jaxp.jaxp.jar" value="${jaxp.home}/jaxp.jar"/>
+ <property name="jaxp.parser.jar" value="${jaxp.home}/crimson.jar"/>
+ <property name="junit.jar" value="${junit.home}/junit.jar"/>
+ <property name="commons-beanutils.api" value="${beanutils.home}/dist/docs/api"/>
+ <property name="commons-beanutils.jar" value="${beanutils.home}/dist/commons-beanutils.jar"/>
+ <property name="commons-collections.api" value="${collections.home}/dist/docs/api"/>
+ <property name="commons-collections.jar" value="${collections.home}/dist/commons-collections.jar"/>
+ <property name="commons-logging.api" value="${logging.home}/dist/docs/api"/>
+ <property name="commons-logging.jar" value="${logging.home}/dist/commons-logging.jar"/>
+
+
+<!-- ========== Component Declarations ==================================== -->
+
+
+ <!-- The name of this component -->
+ <property name="component.name" value="digester"/>
+
+ <!-- The primary package name of this component -->
+ <property name="component.package" value="org.apache.commons.digester"/>
+
+ <!-- The title of this component -->
+ <property name="component.title" value="Digester - XML to Java Object Configuration"/>
+
+ <!-- The current version number of this component -->
+ <property name="component.version" value="1.3"/>
+
+ <!-- The base directory for compilation targets -->
+ <property name="build.home" value="target"/>
+
+ <!-- The base directory for component configuration files -->
+ <property name="conf.home" value="src/conf"/>
+
+ <!-- The base directory for distribution targets -->
+ <property name="dist.home" value="dist"/>
+
+ <!-- The base directory for component sources -->
+ <property name="source.home" value="src/java"/>
+
+ <!-- The base directory for unit test sources -->
+ <property name="test.home" value="src/test"/>
+
+
+<!-- ========== Compiler Defaults ========================================= -->
+
+
+ <!-- Should Java compilations set the 'debug' compiler option? -->
+ <property name="compile.debug" value="true"/>
+
+ <!-- Should Java compilations set the 'deprecation' compiler option? -->
+ <property name="compile.deprecation" value="false"/>
+
+ <!-- Should Java compilations set the 'optimize' compiler option? -->
+ <property name="compile.optimize" value="true"/>
+
+ <!-- Construct compile classpath -->
+ <path id="compile.classpath">
+ <pathelement location="${build.home}/classes"/>
+ <pathelement location="${jaxp.jaxp.jar}"/>
+ <pathelement location="${jaxp.parser.jar}"/>
+ <pathelement location="${commons-beanutils.jar}"/>
+ <pathelement location="${commons-collections.jar}"/>
+ <pathelement location="${commons-logging.jar}"/>
+ <pathelement location="${junit.jar}"/>
+ </path>
+
+
+<!-- ========== Test Execution Defaults =================================== -->
+
+
+ <!-- Construct unit test classpath -->
+ <path id="test.classpath">
+ <pathelement location="${build.home}/classes"/>
+ <pathelement location="${build.home}/tests"/>
+ <pathelement location="${junit.jar}"/>
+ <pathelement location="${jaxp.jaxp.jar}"/>
+ <pathelement location="${jaxp.parser.jar}"/>
+ <pathelement location="${commons-beanutils.jar}"/>
+ <pathelement location="${commons-collections.jar}"/>
+ <pathelement location="${commons-logging.jar}"/>
+ </path>
+
+ <!-- Construct RSSDigester test classpath -->
+ <path id="rss.classpath">
+ <pathelement location="${build.home}/classes"/>
+ <pathelement location="${jaxp.jaxp.jar}"/>
+ <pathelement location="${jaxp.parser.jar}"/>
+ <pathelement location="${commons-beanutils.jar}"/>
+ <pathelement location="${commons-collections.jar}"/>
+ <pathelement location="${commons-logging.jar}"/>
+ </path>
+
+ <!-- Should all tests fail if one does? -->
+ <property name="test.failonerror" value="true"/>
+
+ <!-- The test runner to execute -->
+ <property name="test.runner" value="junit.textui.TestRunner"/>
+
+
+<!-- ========== Executable Targets ======================================== -->
+
+
+ <target name="init"
+ description="Initialize and evaluate conditionals">
+ <echo message="-------- ${component.name} ${component.version} --------"/>
+ <filter token="name" value="${component.package}"/>
+ <filter token="version" value="${component.version}"/>
+ </target>
+
+
+ <target name="prepare" depends="init"
+ description="Prepare build directory">
+ <mkdir dir="${build.home}"/>
+ <mkdir dir="${build.home}/classes"/>
+ <mkdir dir="${build.home}/conf"/>
+ <mkdir dir="${build.home}/tests"/>
+ </target>
+
+
+ <target name="static" depends="prepare"
+ description="Copy static files to build directory">
+ <tstamp/>
+ <copy todir="${build.home}/conf" filtering="on">
+ <fileset dir="${conf.home}" includes="*.MF"/>
+ </copy>
+ </target>
+
+
+ <target name="compile" depends="static"
+ description="Compile shareable components">
+ <javac srcdir="${source.home}"
+ destdir="${build.home}/classes"
+ debug="${compile.debug}"
+ deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}">
+ <classpath refid="compile.classpath"/>
+ </javac>
+ <copy todir="${build.home}/classes" filtering="on">
+ <fileset dir="${source.home}" excludes="**/*.java"/>
+ </copy>
+ </target>
+
+
+ <target name="compile.tests" depends="compile"
+ description="Compile unit test cases">
+ <javac srcdir="${test.home}"
+ destdir="${build.home}/tests"
+ debug="${compile.debug}"
+ deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}">
+ <classpath refid="test.classpath"/>
+ </javac>
+ <copy todir="${build.home}/tests" filtering="on">
+ <fileset dir="${test.home}" excludes="**/*.java"/>
+ </copy>
+ </target>
+
+
+ <target name="clean"
+ description="Clean build and distribution directories">
+ <delete dir="${build.home}"/>
+ <delete dir="${dist.home}"/>
+ </target>
+
+
+ <target name="all" depends="clean,compile"
+ description="Clean and compile all components"/>
+
+
+ <target name="javadoc" depends="compile"
+ description="Create component Javadoc documentation">
+ <mkdir dir="${dist.home}"/>
+ <mkdir dir="${dist.home}/docs"/>
+ <mkdir dir="${dist.home}/docs/api"/>
+ <javadoc sourcepath="${source.home}"
+ destdir="${dist.home}/docs/api"
+ packagenames="org.apache.commons.*"
+ author="true"
+ private="true"
+ version="true"
+ overview="src/java/overview.html"
+ doctitle="<h1>${component.title} (Version ${component.version})</h1>"
+ windowtitle="${component.title} (Version ${component.version})"
+ bottom="Copyright (c) 2001-2002 - Apache Software Foundation">
+ <link offline="true" packagelistLoc="${commons-beanutils.api}"
+ href="http://jakarta.apache.org/commons/beanutils/api/"/>
+ <link offline="true" packagelistLoc="${commons-collections.api}"
+ href="http://jakarta.apache.org/commons/collections/api/"/>
+ <link offline="true" packagelistLoc="${commons-logging.api}"
+ href="http://jakarta.apache.org/commons/logging/api/"/>
+ <classpath refid="compile.classpath"/>
+ </javadoc>
+ </target>
+
+
+ <target name="dist" depends="compile,javadoc"
+ description="Create binary distribution">
+ <mkdir dir="${dist.home}"/>
+<!--
+ <copy file="../LICENSE"
+ todir="${dist.home}"/>
+ <mkdir dir="${build.home}/classes/META-INF"/>
+ <copy file="../LICENSE"
+ tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
+-->
+ <copy file="RELEASE-NOTES.txt"
+ todir="${dist.home}"/>
+ <jar jarfile="${dist.home}/commons-${component.name}.jar"
+ basedir="${build.home}/classes"
+ manifest="${build.home}/conf/MANIFEST.MF"/>
+ </target>
+
+
+<!-- ========== Unit Test Targets ========================================= -->
+
+
+ <target name="test" depends="compile.tests,
+ test.digester,
+ test.matching,
+ test.matching.extended,
+ test.rule,
+ test.bpsr,
+ test.xmlrules
+ "
+ description="Run all unit test cases">
+ </target>
+
+
+ <target name="test.xmlrules" depends="compile.tests"
+ description="Run tests for loading Digester rules from XML ...">
+ <echo message="Running xmlrules tests ..."/>
+ <java classname="${test.runner}" fork="yes"
+ failonerror="${test.failonerror}">
+ <arg value="org.apache.commons.digester.xmlrules.DigesterLoaderTestSuite"/>
+ <classpath refid="test.classpath"/>
+ </java>
+ </target>
+
+
+ <target name="test.bpsr" depends="compile.tests"
+ description="Run tests for BeanPropertySetterRule ...">
+ <echo message="Running BeanPropertySetterRule tests ..."/>
+ <java classname="${test.runner}" fork="yes"
+ failonerror="${test.failonerror}">
+ <arg value="org.apache.commons.digester.BeanPropertySetterRuleTestCase"/>
+ <classpath refid="test.classpath"/>
+ </java>
+ </target>
+
+
+ <target name="test.digester" depends="compile.tests"
+ description="Run basic Digester unit tests ...">
+ <echo message="Running basic Digester tests ..."/>
+ <java classname="${test.runner}" fork="yes"
+ failonerror="${test.failonerror}">
+ <arg value="org.apache.commons.digester.DigesterTestCase"/>
+ <classpath refid="test.classpath"/>
+ </java>
+ </target>
+
+
+ <target name="test.matching" depends="compile.tests"
+ description="Run rule Digester test cases">
+ <echo message="Running rule Digester tests ..."/>
+ <java classname="${test.runner}" fork="yes"
+ failonerror="${test.failonerror}">
+ <arg value="org.apache.commons.digester.RulesBaseTestCase"/>
+ <classpath refid="test.classpath"/>
+ </java>
+ </target>
+
+
+ <target name="test.matching.extended" depends="compile.tests"
+ description="Run rule Digester extended test cases">
+ <echo message="Running rule Digester tests for ExtendedBaseRules ..."/>
+ <java classname="${test.runner}" fork="yes"
+ failonerror="${test.failonerror}">
+ <arg value="org.apache.commons.digester.EBRTestCase"/>
+ <classpath refid="test.classpath"/>
+ </java>
+ </target>
+
+
+ <target name="test.rss" depends="compile.tests"
+ description="Run RSSDigester test cases">
+ <echo message="Running RSSDigester tests ..."/>
+ <java classname="org.apache.commons.digester.rss.RSSDigester"
+ fork="yes">
+ <classpath refid="rss.classpath"/>
+ </java>
+ </target>
+
+
+ <target name="test.rule" depends="compile.tests"
+ description="Run rule Digester unit tests ...">
+ <echo message="Running Rule tests ..."/>
+ <java classname="${test.runner}" fork="yes"
+ failonerror="${test.failonerror}">
+ <arg value="org.apache.commons.digester.RuleTestCase"/>
+ <classpath refid="test.classpath"/>
+ </java>
+ </target>
+
+
+
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b9b33b4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,21 @@
+commons-digester (1.3-2) unstable; urgency=low
+
+ * fixed FTBFS and minor bugs.(closes: #166054)
+
+ -- Takashi Okamoto <tora at debian.org> Sat, 26 Oct 2002 20:10:06 +0900
+
+commons-digester (1.3-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- Takashi Okamoto <tora at debian.org> Mon, 14 Oct 2002 21:39:02 +0900
+
+commons-digester (1.1.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Takashi Okamoto <tora at debian.org> Mon, 14 Oct 2002 21:38:55 +0900
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f7c8096
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: commons-digester
+Section: contrib/libs
+Priority: optional
+Maintainer: Takashi Okamoto <tora at debian.org>
+Build-Depends: debhelper (>> 3.0.0), j2sdk1.3, ant, libcommons-beanutils-java, libcommons-logging-java
+Standards-Version: 3.5.2
+
+Package: libcommons-digester-java
+Architecture: all
+Depends: java-common, libcommons-beanutils-java (>= 1.3), libcommons-logging-java
+Suggests: libcommons-digester-java-doc
+Description: A set of abstract data type interfaces and implementations
+ The Java Collections Framework provides a set of abstract data
+ type interfaces and implementations that offer both a wealth
+ of useful functionality, and a solid foundation for extending
+ that functionality.
+
+Package: libcommons-digester-java-doc
+Architecture: all
+Description: Documentation for libcommons-collections-java
+ Documentation for libcommons-collections-java which is a set of abstract
+ data type interfaces and implementations.
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..35f186e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,71 @@
+This package was debianized by Takashi Okamoto <tora at debian.org> on
+Mon, 5 Nov 2001 08:15:04 +0900.
+
+It was downloaded from http://jakarta.apache.org/commons/
+
+Upstream Author(s): <put author(s) name and email here>
+ Peter Donald
+ Geir Magnusson Jr.
+ Craig McClanahan
+ James Strachan
+ Rodney Waldhoff
+ Jason van Zyl
+
+Copyright:
+/*
+ * ====================================================================
+ *
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2000-2001 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The names "The Jakarta Project", "Velocity", and "Apache Software
+ * Foundation" must not be used to endorse or promote products derived
+ * from this software without prior written permission. For written
+ * permission, please contact apache at apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * "Velocity" nor may "Apache" appear in their names without prior
+ * written permission of the Apache Group.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ */
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..13c9f03
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/share/java
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..adaa031
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+STATUS.html
diff --git a/debian/libcommons-digester-java-doc.docs b/debian/libcommons-digester-java-doc.docs
new file mode 100644
index 0000000..7cc74fa
--- /dev/null
+++ b/debian/libcommons-digester-java-doc.docs
@@ -0,0 +1,2 @@
+dist/docs/api
+STATUS.html
diff --git a/debian/libcommons-digester-java.links b/debian/libcommons-digester-java.links
new file mode 100644
index 0000000..cb8abff
--- /dev/null
+++ b/debian/libcommons-digester-java.links
@@ -0,0 +1 @@
+usr/share/java/commons-digester-1.3.jar usr/share/java/commons-digester.jar
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 0000000..ad369c9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,97 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+export LANG=C
+
+PNAME=commons-digester
+VERSION=1.3
+JARFILE=dist/${PNAME}.jar
+BUILDFILE=build.xml
+
+# for Blackdown JDK (you shuld add j2sdk1.3 at Build-Depends
+# And pacgkage should go to contrib section even if it's own license is free.
+export JAVA_HOME=/usr/lib/j2se/1.3
+export CLASSPATH=.:${JAVA_HOME}/lib/tools.jar:${JAVA_HOME}/jre/lib/rt.jar:/usr/share/java/commons-beanutils.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-collections.jar
+export JAVAC=${JAVA_HOME}/bin/javac
+
+# for Kaffe
+# remove following comments when you use kaffe
+# you should you kaffe when you want to put your package into main
+#export JAVA_HOME=/usr/lib/kaffe
+#export CLASSPATH=.:/usr/share/kaffe/Klasses.jar:/usr/share/kaffe/rmi.jar
+#export JAVAC=/usr/bin/jikes
+
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+ ant -buildfile ${BUILDFILE} dist
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ ant -buildfile ${BUILDFILE} clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/commons-collections.
+ install -m 644 ${JARFILE} $(CURDIR)/debian/lib${PNAME}-java/usr/share/java/${PNAME}-${VERSION}.jar
+
+ dh_movefiles --sourcedir=debian/lib${PNAME}-java
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir -i
+ dh_testroot -i
+# dh_installdebconf -i
+ dh_installdocs -i
+ dh_installexamples -i
+ dh_installmenu -i
+# dh_installlogrotate -i
+# dh_installemacsen -i
+# dh_installpam -i
+# dh_installmime -i
+# dh_installinit -i
+# dh_installcron -i
+# dh_installman -i
+# dh_installinfo -i
+# dh_undocumented -i
+ dh_installchangelogs -i
+ dh_link -i
+ dh_strip -i
+ dh_compress -i
+ dh_fixperms -i
+# dh_makeshlibs -i
+ dh_installdeb -i
+# dh_perl -i
+# dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-digester-java.git
More information about the pkg-java-commits
mailing list