diff options
-rw-r--r-- | build.xml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,7 +157,7 @@ <!-- Compile this project's .java files into .class files. --> <target name="compile" depends="resource-src, aidl"> - <javac encoding="ascii" target="1.5" debug="true" extdirs="" + <javac encoding="utf8" target="1.5" debug="true" extdirs="" destdir="${out-classes}" bootclasspathref="android.target.classpath"> <src path="${source-folder}" /> @@ -298,7 +298,7 @@ <delete file="svnlog.out"/> - <replaceregexp file="${resource-dir}/values/strings.xml" encoding="${encoding}" match='(\x3Cstring name="msg_version">)[^\x3C]*(\x3C/string>)' + <replaceregexp file="${resource-folder}/values/strings.xml" encoding="utf8" match='(\x3Cstring name="msg_version">)[^\x3C]*(\x3C/string>)' replace='\1${ant.project.name} ${manifest.android:versionName} (r${Revision} ${build.date})\2' /> <echo>Updated "msg_version" to: ${ant.project.name} ${manifest.android:versionName} (r${Revision} ${build.date})</echo> |