summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-03-16 16:52:39 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-03-16 16:53:06 (GMT)
commite331a315acbcdeee1a1643ff787a9ad93b3e9fb0 (patch)
tree7d197519e6f391eb09f2b9108226c91059c10c43 /build.xml
parent56bf08427b1d3768556f4600075e79a8d03c26d2 (diff)
downloadstroke-e331a315acbcdeee1a1643ff787a9ad93b3e9fb0.zip
stroke-e331a315acbcdeee1a1643ff787a9ad93b3e9fb0.tar.bz2
Always use utf-8
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 6e5cbde..acdf51f 100644
--- a/build.xml
+++ b/build.xml
@@ -32,7 +32,9 @@
<target name="compile" depends="init"
description="compile the source " >
- <javac srcdir="${src}" destdir="${build}" classpathref="classpath" debug="${compile.debug}"/>
+ <javac srcdir="${src}" destdir="${build}" classpathref="classpath" debug="${compile.debug}">
+ <compilerarg line="-encoding utf-8"/>
+ </javac>
</target>
<target name="dist" depends="compile"
@@ -48,6 +50,7 @@
<target name="compile-tests" depends="dist"
description="compile the test sources " >
<javac srcdir="${src.tests}" destdir="${src.tests}" debug="${compile.debug}">
+ <compilerarg line="-encoding utf-8"/>
<classpath>
<pathelement location="${jar}"/>
<pathelement location="${JUNIT_JAR}"/>