Fix build scripts

This commit is contained in:
Victor Shcherb 2012-01-24 00:21:28 +01:00
parent 93af937d89
commit 92e07d2fad
2 changed files with 10 additions and 2 deletions

View file

@ -27,7 +27,7 @@
</target>
<target name="-version" if="build.version">
<replace file="src/net/osmand/Version.java" token="String APP_DESCRIPTION" value="String APP_DESCRIPTION=&quot;${build.version}&quot;;//"/>
<replace file="src/net/osmand/MapCreatorVersion.java" token="String APP_DESCRIPTION" value="String APP_DESCRIPTION=&quot;${build.version}&quot;;//"/>
</target>
<target name="clean">

View file

@ -105,6 +105,14 @@
<replaceregexp file="res/values/no_translate.xml" match='"app_name"&gt;(.*)&lt;' replace='"app_name"&gt;Osmand+&lt;' byline="true" />
</else>
</if>
<if>
<condition>
<isset property="build.version" />
</condition>
<then>
<replaceregexp file="res/values/no_translate.xml" match='"app_version"&gt;(.*)&lt;' replace='"app_version"&gt;${build.version} alpha&lt;' byline="true" />
</then>
</if>
</target>