This is a basic task that can be used to track build numbers.
It will first attempt to read a build number from a file (by default,build.number in the current directory), thenset the property build.number to the value that was read in(or to 0, if no such value). It will then increment thenumber by one and write it back out to the file.(See thePropertyFile taskif you need finer control over things such as the property name orthe number format.)
Parameters
Attribute
Description
Required
file
The file to read and write the build number from/to.
No; defaults to "build.number"
Examples
<buildnumber/>
Read, increment, and write a build number to the default file,build.number.
<buildnumber file="mybuild.number"/>
Read, increment, and write a build number to the filemybuild.number.
Tags: BuildNumber, Apache Ant Manual, 2242, Apache Ant Tasks BuildNumber BuildNumber Description This is a basic task that can be used to track build numbers, It will first attempt to read a build number from a file (by default build.number in the current directory) then set the property build.number to the value that was read in (or to if no such value), It will then increment the number by one and write it back out to the file, (See t, BuildNumber, Bahasa Indonesia, Contoh Instruksi, Tutorial, Referensi, Buku, Petunjuk m.kelas karyawan sebi, prestasi.web.id