modify the Version.java in ant
This commit is contained in:
parent
d2175d89ef
commit
0bce7eed93
1 changed files with 5 additions and 1 deletions
|
@ -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="${build.version}";//"/>
|
||||||
|
</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" />
|
||||||
|
|
Loading…
Reference in a new issue