File: 01_javac_encoding.patch

package info (click to toggle)
libjakarta-poi-java 3.6%2Bdfsg-1%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 22,764 kB
  • ctags: 33,642
  • sloc: java: 203,142; xml: 21,549; makefile: 231; jsp: 85; ruby: 78; sh: 39; cpp: 17
file content (96 lines) | stat: -rw-r--r-- 3,855 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Description: set encoding of each call to "javac" when compiling source code
Author: Damien Raude-Morvan <drazzib@debian.org>
Forwarded: no
Last-Update:2009-10-01
--- a/build.xml
+++ b/build.xml
@@ -423,7 +423,7 @@
                destdir="${main.output.dir}"
                srcdir="${main.src}"
                debug="${compile.debug}"
-               fork="yes">
+               fork="yes" encoding="iso-8859-1">
             <classpath refid="main.classpath"/>
         </javac>
         <javac target="${jdk.version.class}"
@@ -431,7 +431,7 @@
                destdir="${main.output.test.dir}"
                srcdir="${main.src.test}"
                debug="${compile.debug}"
-               fork="yes">
+               fork="yes" encoding="iso-8859-1">
             <classpath>
                 <path refid="main.classpath"/>
                 <pathelement path="${main.output.dir}"/>
@@ -448,7 +448,7 @@
                destdir="${scratchpad.output.dir}"
                srcdir="${scratchpad.src}"
                debug="${compile.debug}"
-               fork="yes">
+               fork="yes" encoding="iso-8859-1">
             <classpath refid="scratchpad.classpath"/>
         </javac>
         <javac target="${jdk.version.class}"
@@ -456,7 +456,7 @@
                destdir="${scratchpad.output.test.dir}"
                srcdir="${scratchpad.src.test}"
                debug="${compile.debug}"
-               fork="yes">
+               fork="yes" encoding="iso-8859-1">
             <classpath>
                 <path refid="scratchpad.classpath"/>
                 <pathelement location="${scratchpad.output.dir}"/>
@@ -474,7 +474,7 @@
                destdir="${contrib.output.dir}"
                srcdir="${contrib.src}"
                debug="${compile.debug}"
-               fork="yes">
+               fork="yes" encoding="iso-8859-1">
             <classpath refid="contrib.classpath"/>
         </javac>
         <javac target="${jdk.version.class}"
@@ -483,7 +483,7 @@
                destdir="${contrib.output.test.dir}"
                srcdir="${contrib.src.test}"
                debug="${compile.debug}"
-               fork="yes">
+               fork="yes" encoding="iso-8859-1">
             <classpath>
                 <path refid="contrib.classpath"/>
                 <pathelement path="${contrib.output.dir}"/>
@@ -497,7 +497,7 @@
                destdir="${examples.output.dir}"
                srcdir="${examples.src}"
                debug="${compile.debug}"
-               fork="yes">
+               fork="yes" encoding="iso-8859-1">
             <classpath>
                 <path refid="ooxml.classpath"/>
                 <pathelement path="${ooxml.output.dir}"/>
@@ -510,7 +510,7 @@
                source="${jdk.version.source}"
                destdir="${ooxml.output.dir}"
                srcdir="${ooxml.src}"
-               debug="${compile.debug}">
+               debug="${compile.debug}" encoding="iso-8859-1">
             <classpath refid="ooxml.classpath"/>
         </javac>
         <javac target="${jdk.version.class}"
@@ -518,7 +518,7 @@
                destdir="${ooxml.output.test.dir}"
                srcdir="${ooxml.src.test}"
                debug="${compile.debug}"
-               fork="yes">
+               fork="yes" encoding="iso-8859-1">
             <classpath>
                 <path refid="ooxml.classpath"/>
                 <pathelement path="${ooxml.output.dir}"/>
@@ -544,7 +544,7 @@
         <!-- Compile -->
         <javac target="${jdk.version.class}" source="${jdk.version.source}"
                failonerror="true" destdir="${main.output.dir}" debug="on" fork="yes"
-               srcdir="${main.output.dir}"/>
+               srcdir="${main.output.dir}" encoding="iso-8859-1"/>
         <!-- Tidy up -->
         <delete file="${version.java}"/>
     </target>