B.32 TouchTask

The TouchTask works like the Unix touch command: It sets the modtime of a file to a specific time. Default is the current time.

Table B.33: Attributes

NameTypeDescriptionDefaultRequired
fileStringThe file which time is to be changed.n/aYes, or nested <fileset> tag
datetimeDateTimeThe date and time the mtime of the file is to be set to. The format is "MM/DD/YYYY HH:MM AM or PM"nowNo
millisIntegerThe number of milliseconds since Midnight Jan 1 1970 (Unix epoche).nowNo

B.32.1 Examples

<touch file="README.txt" millis="102134111" />

<touch file="COPYING.lib" datetime="10/10/1999 09:31 AM" />

B.32.2 Supported Nested Tags

  • fileset