ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Coutts" <R...@quadrus.com>
Subject 'propertyfile' task
Date Thu, 03 Jan 2002 21:38:17 GMT
I saw in the archives a reference to a 'propertyfile' task that was used
to read a build number from a property file, and then increment it.  I
can't find any info in the Ant documentation.  Can anyone provide me
with some info on the 'propertyfile' task?  

Here's the snippet that was given as an example for using a build
number:

<target name="build"> 
  <propertyfile file="buildnumber"> 
    <entry key="buildnumber" type="int" default="0" operation="+" /> 
  </propertyfile> 
  <property file="buildnumber" /> 
  <echo message="buildnumber: ${buildnumber}" /> 
 </target> 

Anyone know what the 'property' task is doing in this snippet?

Ron


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message