summaryrefslogtreecommitdiff
path: root/java/apache-commons-httpclient/files/patch-build.xml
blob: c1458323a02f7d755f3c083aacea285622f03094 (plain) (blame)
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
--- build.xml.orig	2007-08-18 09:02:14 UTC
+++ build.xml
@@ -179,24 +179,33 @@ -->
           description="Compile shareable components">
     <javac srcdir      ="${source.home}/java"
            destdir     ="${build.home}/classes"
+           encoding    ="ISO-8859-1"
+           source      ="8"
+           target      ="8"
            debug       ="${compile.debug}"
            deprecation ="${compile.deprecation}"
            optimize    ="${compile.optimize}">
       <classpath refid="compile.classpath"/>
     </javac>
-    <javac srcdir      ="${source.home}/examples"
+    <!--javac srcdir      ="${source.home}/examples"
            destdir     ="${build.home}/examples"
+           encoding    ="ISO-8859-1"
+           source      ="8"
+           target      ="8"
            debug       ="${compile.debug}"
            deprecation ="${compile.deprecation}"
            optimize    ="${compile.optimize}">
       <classpath refid="compile.classpath"/>
-    </javac>
+    </javac-->
   </target>
 
   <target name="compile.tests" depends="compile"
           description="Compile unit test cases">
     <javac srcdir      ="${test.home}"
            destdir     ="${build.home}/tests"
+           encoding    ="ISO-8859-1"
+           source      ="8"
+           target      ="8"
            debug       ="${compile.debug}"
            deprecation ="${compile.deprecation}"
            optimize    ="${compile.optimize}">
@@ -248,6 +257,7 @@ -->
              doctitle     ="&lt;h1&gt;${component.title}&lt;/h1&gt;"
              windowtitle  ="${component.title} (Version ${component.version})"
              bottom       ="Copyright (c) 1999-2005 - Apache Software Foundation"
+             encoding     ="ISO-8859-1"
     >
       <classpath refid="test.classpath"/>
       <link href="${javadoc.j2sdk.link}"/>