aboutsummaryrefslogtreecommitdiffstats
path: root/files/ant
diff options
context:
space:
mode:
Diffstat (limited to 'files/ant')
-rw-r--r--files/ant/lib_rules.xml9
-rw-r--r--files/ant/main_rules.xml2
2 files changed, 9 insertions, 2 deletions
diff --git a/files/ant/lib_rules.xml b/files/ant/lib_rules.xml
index 96dc407..42a1e48 100644
--- a/files/ant/lib_rules.xml
+++ b/files/ant/lib_rules.xml
@@ -62,6 +62,11 @@
<property name="out.classes.dir" value="${out.absolute.dir}/classes" />
<property name="out.classes.absolute.dir" location="${out.classes.dir}" />
+ <!-- compilation options -->
+ <property name="java.encoding" value="UTF-8" />
+ <property name="java.target" value="1.5" />
+ <property name="java.source" value="1.5" />
+
<!-- Verbosity -->
<property name="verbose" value="false" />
<!-- This is needed by emma as it uses multilevel verbosity instead of simple 'true' or 'false'
@@ -147,7 +152,9 @@
else="./libs">
<isset property="tested.project.absolute.dir" />
</condition>
- <javac encoding="ascii" target="1.5" debug="true" extdirs=""
+ <javac encoding="${java.encoding}"
+ source="${java.source}" target="${java.target}"
+ debug="true" extdirs=""
destdir="${out.classes.absolute.dir}"
bootclasspathref="android.target.classpath"
verbose="${verbose}"
diff --git a/files/ant/main_rules.xml b/files/ant/main_rules.xml
index 7be13d7..e63f941 100644
--- a/files/ant/main_rules.xml
+++ b/files/ant/main_rules.xml
@@ -118,7 +118,7 @@
<property name="filter.abi" value="" />
<!-- compilation options -->
- <property name="java.encoding" value="ascii" />
+ <property name="java.encoding" value="UTF-8" />
<property name="java.target" value="1.5" />
<property name="java.source" value="1.5" />