I\'m using the propertyfile task shown below in my build script:
If you need to put a single property in a file just use echo:
lastmodified=${lastmodified}