[libxpp3-java] 19/24: Fixed the build failure with Java 9 (Closes: #893084)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Mar 16 13:06:52 GMT 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libxpp3-java.
commit e5aa0e11a517c5570d42f8cfae2650fecc7df35f
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri Mar 16 12:50:33 2018 +0100
Fixed the build failure with Java 9 (Closes: #893084)
---
debian/changelog | 1 +
debian/patches/build.patch | 126 +++------------------------------------------
2 files changed, 9 insertions(+), 118 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 37de985..0f7d91e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
libxpp3-java (1.1.4c-3) UNRELEASED; urgency=medium
* Team upload.
+ * Fixed the build failure with Java 9 (Closes: #893084)
* Moved the package to Git
* Standards-Version updated to 4.1.3
diff --git a/debian/patches/build.patch b/debian/patches/build.patch
index c940d9d..351054d 100644
--- a/debian/patches/build.patch
+++ b/debian/patches/build.patch
@@ -1,126 +1,15 @@
--- a/build.xml
+++ b/build.xml
-@@ -220,20 +220,20 @@
-
- <target name="api" depends="prepare,update_api">
- <mkdir dir="${build_api}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_api}" destdir="${build_api}" classpath="${build_api}"/>
- </target>
-
- <target name="impl_min" depends="prepare,api">
- <mkdir dir="${build_classes_min}"/>
- <touch file="${build_classes_min}/${xpp3_tag}_MIN_VERSION"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_api}" destdir="${build_classes_min}" classpath="${build_classes_min}">
- <include name="**/*.java"/>
- <exclude name="**/*Factory.java"/>
- <exclude name="**/*Serializer.java"/>
- </javac>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_impl_min}" destdir="${build_classes_min}" classpath="${build_classes_min}"/>
- <mkdir dir="${build_classes_min}/META-INF/services"/>
- <copy todir="${build_classes_min}/META-INF/services">
-@@ -249,13 +249,13 @@
- </target>
-
- <target name="serializer" depends="prepare,api">
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_impl_serializer}" destdir="${build_classes}" classpath="${build_api}"/>
- </target>
+@@ -255,7 +255,7 @@
<target name="builder" depends="prepare,api">
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
+ <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
- srcdir="${src_builder}" destdir="${build_classes}" classpath="${build_api}"/>
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
+ srcdir="${src_builder}" destdir="${build_classes}" classpath="${build_api}" excludes="javax/xml/" />
</target>
-@@ -267,20 +267,20 @@
-
- <target name="xpath" depends="builder">
- <mkdir dir="${build_xpath}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_xpath}" destdir="${build_xpath}" classpath="${build_api}:${build_classes}"/>
- </target>
-
- <target name="xpath_samples" depends="check_junit,xpath" if="junit_present">
- <mkdir dir="${build_samples}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_xpath_samples}" destdir="${build_samples}" classpath="${build_api}:${build_classes}:${build_xpath}"/>
- </target>
-
- <target name="impl" depends="impl_min,serializer">
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_impl_min}" destdir="${build_classes}" classpath="${build_api}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_impl_standard}" destdir="${build_classes}" classpath="${build_api}"/>
- <mkdir dir="${build_classes}/META-INF/services"/>
- <copy todir="${build_classes}/META-INF/services">
-@@ -298,7 +298,7 @@
-
- <target name="parser_pool" depends="api,update_parser_pool">
- <mkdir dir="${build_classes}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_parser_pool}" destdir="${build_classes}" classpath="${build_api}"/>
- </target>
-
-@@ -312,7 +312,7 @@
-
- <target name="dom2_builder" depends="api,check_dom2,update_dom2_builder">
- <mkdir dir="${build_classes}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_dom2_builder}" destdir="${build_classes}" classpath="${build_api}"/>
- </target>
-
-@@ -328,7 +328,7 @@
-
- <target name="sax2_driver" depends="api,check_sax2,update_sax2_driver">
- <mkdir dir="${build_classes}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_sax2_driver}" destdir="${build_classes}" classpath="${build_api}"/>
- </target>
-
-@@ -344,7 +344,7 @@
-
- <target name="util" depends="api,update_util">
- <mkdir dir="${build_classes}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_util}" destdir="${build_classes}" classpath="${build_api}"/>
- </target>
-
-@@ -358,7 +358,7 @@
-
- <target name="wrapper" depends="api,util,update_wrapper">
- <mkdir dir="${build_classes}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_wrapper}" destdir="${build_classes}" classpath="${build_api}"/>
- </target>
-
-@@ -389,7 +389,7 @@
-
- <target name="xmlpull_samples" depends="api,update_samples">
- <mkdir dir="${build_samples}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
- srcdir="${src_samples}" destdir="${build_samples}" classpath="${build_api}"/>
- </target>
-
-@@ -424,16 +424,16 @@
+@@ -424,10 +424,10 @@
<target name="tests_addons" if="junit_present"
depends="check_junit,impl,update_tests,wrapper,dom2_builder">
@@ -133,14 +22,15 @@
</target>
<target name="tests_main" if="junit_present"
- depends="check_junit,impl,update_tests">
+@@ -435,6 +435,7 @@
<mkdir dir="${build_tests}"/>
-- <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
-+ <javac debug="${debug}" deprecation="${deprecation}" source="1.3" target="1.3"
+ <javac debug="${debug}" deprecation="${deprecation}" source="1.2" target="1.1"
srcdir="${src_tests}" destdir="${build_tests}" classpath="${build_api}"
++ encoding="ISO-8859-1"
/>
<copy todir="${build_tests_xml}">
-@@ -502,7 +502,6 @@
+ <fileset dir="${src_xml_tests}">
+@@ -502,7 +503,6 @@
windowtitle="${name} ${version} API"
doctitle="${name}"
bottom="${copyright}"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libxpp3-java.git
More information about the pkg-java-commits
mailing list