Added java.encoding property

git-svn-id: https://osmand.googlecode.com/svn/trunk@840 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
pavol.zibrita 2010-12-19 14:10:47 +00:00
parent 1d9d4cf8b6
commit e0b66bd2ce

View file

@ -1,6 +1,8 @@
<!-- build JAR libraty --> <!-- build JAR libraty -->
<project name="DataExtractionOSM" default="build" basedir="."> <project name="DataExtractionOSM" default="build" basedir=".">
<property file="local.properties" />
<property name="file.to.upload" value="OsmAndMapCreator-nightbuild.zip"/> <property name="file.to.upload" value="OsmAndMapCreator-nightbuild.zip"/>
<property name="src.dir" value="src"/> <property name="src.dir" value="src"/>
<property name="src.absolute.dir" location="${src.dir}" /> <property name="src.absolute.dir" location="${src.dir}" />
@ -8,6 +10,7 @@
<property name="bin.absolute.dir" location="${bin.dir}" /> <property name="bin.absolute.dir" location="${bin.dir}" />
<property name="lib.dir" value="lib"/> <property name="lib.dir" value="lib"/>
<property name="lib.absolute.dir" location="${lib.dir}" /> <property name="lib.absolute.dir" location="${lib.dir}" />
<property name="java.encoding" value="UTF-8" />
<path id="ant.lib.path"> <path id="ant.lib.path">
<fileset dir="ant-lib" includes="*.jar" /> <fileset dir="ant-lib" includes="*.jar" />
@ -19,8 +22,6 @@
</fileset> </fileset>
</path> </path>
<property file="local.properties" />
<target name="-dirs"> <target name="-dirs">
<mkdir dir="${bin.absolute.dir}"/> <mkdir dir="${bin.absolute.dir}"/>
</target> </target>
@ -32,6 +33,7 @@
<target name="compile" depends="-dirs"> <target name="compile" depends="-dirs">
<javac srcdir="${src.absolute.dir}" <javac srcdir="${src.absolute.dir}"
destdir="${bin.absolute.dir}" destdir="${bin.absolute.dir}"
encoding="${java.encoding}"
classpathref="build.path" classpathref="build.path"
debug="on" debug="on"
source="1.6" source="1.6"