File: encoding.patch

package info (click to toggle)
asm 5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,780 kB
  • sloc: java: 41,697; xml: 1,918; makefile: 16; sh: 10
file content (15 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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@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">