ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Coutts" <>
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

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

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


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message