| org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.BuildNumber
BuildNumber | public class BuildNumber extends Task (Code) | | Read, increment, and write a build number in a file
It will first
attempt to read a build number from a file, then set the property
"build.number" to the value that was read in (or 0 if no such value). Then
it will increment the build number by one and write it back out into the
file.
since: Ant 1.5 |
Method Summary | |
public void | execute() Run task. | public void | setFile(File file) The file in which the build number is stored. |
setFile | public void setFile(File file)(Code) | | The file in which the build number is stored. Defaults to
"build.number" if not specified.
Parameters: file - the file in which build number is stored. |
|
|