By using following block of code in build.xml
file
The property file task is for editing properties files. It contains all sorts of nice features that allow you to modify entries. For example:
I've incremented my build_number
by one. I have no idea what the value was, but it's now one greater than what it was before.
task to build a property file instead of
. You can easily layout the content and then use
to edit that content later on.Example:
# Default Configuration
source.dir=1
dir.publish=1
# Source Configuration
dir.publish.html=1
Example: