Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 565 Bytes
<?xml version="1.0" ?>
<project default="buildNumber">
<property name="baseBuildNumber" value="4.2." />
<target name="buildNumber" depends="revision" description="Increments the build number">
<property file="build_info.properties" />
<replace file="ver.txt" token="@version@" value="${baseBuildNumber}${build.revision.number}"/>
</target>
<target name="revision">
<propertyfile file="build_info.properties">
<entry key="build.revision.number" type="int" operation="+" value="1" pattern="0000"/>
</propertyfile>
</target>
</project>