Add automatic version number.

This commit is contained in:
Christian P. MOMON 2013-06-23 01:29:28 +02:00
parent 849bb9174c
commit 6118b4bb85
2 changed files with 5 additions and 0 deletions

3
build.num Normal file
View file

@ -0,0 +1,3 @@
#Build Number for ANT. Do not edit!
#Thu Jun 20 02:51:05 CEST 2013
build.number=0

View file

@ -2,6 +2,8 @@
<!DOCTYPE project> <!DOCTYPE project>
<!-- Builds the XID Framework. --> <!-- Builds the XID Framework. -->
<project name="xid" default="all" basedir="."> <project name="xid" default="all" basedir=".">
<buildnumber file="build.num" description="Id of the build"/>
<property name="version" value="0.2.${build.number}" /> <!-- AUTOMATIC MANAGEMENT -->
<property name="targetjar" value="xid.jar"/> <property name="targetjar" value="xid.jar"/>
<property name="zip_file" value="xid.zip"/> <!-- Release zip file --> <property name="zip_file" value="xid.zip"/> <!-- Release zip file -->
<property name="src" value="src"/> <property name="src" value="src"/>