[libcommons-modeler-java] 13/39: * Run JUnit tests during build time. * Fixed debian/watch file to use new upstream tarball name.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Oct 26 21:43:35 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository libcommons-modeler-java.

commit f30b07e74e6e8c61ecb67640f2c16890aae135af
Author: Michael Koch <konqueror at gmx.de>
Date:   Wed Aug 1 04:17:21 2007 +0000

    * Run JUnit tests during build time.
    * Fixed debian/watch file to use new upstream tarball name.
---
 debian/changelog                            |  7 ++++++-
 debian/libcommons-modeler-java-doc.doc-base |  4 ++--
 debian/libcommons-modeler-java-doc.examples |  1 -
 debian/patches/01_build_xml.patch           | 20 ++++++++++++++++++++
 debian/rules                                |  1 +
 debian/watch                                |  4 ++--
 6 files changed, 31 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 44afd22..99e59d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,15 @@
 libcommons-modeler-java (2.0.1-1) unstable; urgency=low
 
+  [ Marcus Better ]
   * New upstream release.
   * The API has changed incompatibly in this release. See the release
     notes for details.
 
- -- Marcus Better <marcus at better.se>  Fri, 01 Jun 2007 16:07:58 +0200
+  [ Michael Koch ]
+  * Run JUnit tests during build time.
+  * Fixed debian/watch file to use new upstream tarball name.
+
+ -- Michael Koch <konqueror at gmx.de>  Wed, 01 Aug 2007 06:14:34 +0200
 
 libcommons-modeler-java (1.1-9) unstable; urgency=low
 
diff --git a/debian/libcommons-modeler-java-doc.doc-base b/debian/libcommons-modeler-java-doc.doc-base
index b60285b..49786cd 100644
--- a/debian/libcommons-modeler-java-doc.doc-base
+++ b/debian/libcommons-modeler-java-doc.doc-base
@@ -5,5 +5,5 @@ Abstract: This is the API Javadoc provided by the Commons Modeler library.
 Section: Programming
 
 Format: HTML
-Index: /usr/share/doc/libcommons-modeler-java-doc/apidocs/index.html
-Files: /usr/share/doc/libcommons-modeler-java-doc/apidocs/*
+Index: /usr/share/doc/libcommons-modeler-java-doc/api/index.html
+Files: /usr/share/doc/libcommons-modeler-java-doc/api/*
diff --git a/debian/libcommons-modeler-java-doc.examples b/debian/libcommons-modeler-java-doc.examples
deleted file mode 100644
index b87bd56..0000000
--- a/debian/libcommons-modeler-java-doc.examples
+++ /dev/null
@@ -1 +0,0 @@
-dist/demo.tar.gz
diff --git a/debian/patches/01_build_xml.patch b/debian/patches/01_build_xml.patch
new file mode 100644
index 0000000..32367f5
--- /dev/null
+++ b/debian/patches/01_build_xml.patch
@@ -0,0 +1,20 @@
+--- build.xml.orig	2005-09-11 00:29:15.000000000 +0200
++++ build.xml	2005-09-11 00:28:55.000000000 +0200
+@@ -39,8 +39,6 @@
+   <property name="base.path"               value="/usr/local" />
+   <property name="jaxp.home"               value="${base.path}/jaxp-1.1"/>
+   <property name="junit.home"              value="${base.path}/junit3.7"/>
+-  <property name="commons.home"            location="../../jakarta-commons"/>
+-  <property name="sandbox.home"            location="../../jakarta-commons-sandbox"/>
+   <property name="digester.home"           value="${commons.home}/digester"/>
+   <property name="jmx.home"                value="${base.path}/jmx-ri_1.0.1/jmx"/>
+   <property name="logging.home"            value="${commons.home}/logging"/>
+@@ -173,7 +171,7 @@
+            destdir="${build.home}/classes"
+              debug="${compile.debug}"
+        deprecation="${compile.deprecation}"
+-          optimize="${compile.optimize}">
++          optimize="${compile.optimize}" source="1.3" target="1.3">
+       <classpath refid="compile.classpath"/>
+       <exclude name="org/apache/commons/modeler/ant/*PropertyHelper.java" unless="ant16.available" />
+       <exclude name="org/apache/commons/modeler/modules/MbeansDescriptorsDigesterSource.java" unless="digester.available" />
diff --git a/debian/rules b/debian/rules
index 01e63df..9bf8b04 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,7 @@ DEB_JARS := mx4j commons-digester commons-logging $(ANT_HOME)/lib/ant-launcher.j
 
 # Ant targets to call
 DEB_ANT_BUILD_TARGET := dist
+DEB_ANT_CHECK_TARGET := test
 
 LIBRARY_PACKAGE := commons-modeler
 API_VERSION     := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d-)
diff --git a/debian/watch b/debian/watch
index 4cba9b5..8f39933 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=2
-http://www.apache.org/dist/jakarta/commons/modeler/source/modeler-(.*)-src\.tar\.gz debian uupdate
+version=3
+http://www.apache.org/dist/jakarta/commons/modeler/source/commons-modeler-(.*)-src\.tar\.gz debian uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-modeler-java.git



More information about the pkg-java-commits mailing list