The propertyfile task is documented under Optional Tasks. There has been some discussion back and forth on the developer list about making it a Core task.
The property task is reading the file "buildnumber" and initializing all properties contained in that file that are not already defined. This functionality is documented under the "file" parameter of <property> -----Original Message----- From: Ron Coutts [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 3:38 PM To: 'Ant Users List' (E-mail) Subject: 'propertyfile' task 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
