modify the Version.java in ant

This commit is contained in:
Pavol Zibrita 2011-12-29 22:00:20 +01:00
parent d2175d89ef
commit 0bce7eed93

View file

@ -26,11 +26,15 @@
<mkdir dir="${bin.absolute.dir}"/> <mkdir dir="${bin.absolute.dir}"/>
</target> </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;;//"/>
</target>
<target name="clean"> <target name="clean">
<delete dir="${bin.absolute.dir}"/> <delete dir="${bin.absolute.dir}"/>
</target> </target>
<target name="compile" depends="-dirs"> <target name="compile" depends="-dirs,-version">
<copy todir="${bin.absolute.dir}"> <copy todir="${bin.absolute.dir}">
<fileset dir="${src.absolute.dir}"> <fileset dir="${src.absolute.dir}">
<exclude name="**/*.java" /> <exclude name="**/*.java" />