[libasm4-java] 04/05: Fixed the generation of the javadoc

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Apr 15 14:26:55 UTC 2014


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

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

commit 20dafe3ff8837b176cffb192a8450907ad2e38bb
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Apr 15 12:43:27 2014 +0200

    Fixed the generation of the javadoc
---
 debian/patches/encoding.patch | 15 +++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/encoding.patch b/debian/patches/encoding.patch
new file mode 100644
index 0000000..70237cf
--- /dev/null
+++ b/debian/patches/encoding.patch
@@ -0,0 +1,15 @@
+Description: The generation of the Javadoc fails if the default encoding is UTF-8
+ due to an unmappable character. Setting the source encoding to ISO-8859-1 fixes
+ this issue.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/jdoc/user.xml
++++ b/jdoc/user.xml
+@@ -43,6 +43,7 @@
+   <target name="dist.jdoc.user" unless="jdoc.required">
+     <mkdir dir="${jdoc.dir}"/>
+     <javadoc destdir="${jdoc.dir}"
++             encoding="iso-8859-1"
+              windowtitle="ASM ${product.version} Documentation"
+              doctitle="ASM ${product.version} Documentation"
+              use="true">
diff --git a/debian/patches/series b/debian/patches/series
index 3569b5c..9512114 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+encoding.patch
 remove_bnd.diff
 rm-sigtest.patch

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



More information about the pkg-java-commits mailing list