Open Source .NET Development [Electronic resources]

Brian Nantz

نسخه متنی -صفحه : 275/ 172
نمايش فراداده

<touch> Touch a file and/or fileset(s) -- corresponds to the Unix touch command.

Attribute

Description

Required

file

Assembly Filename (required unless a fileset is specified).

False

millis

Specifies the new modification time of the file in milliseconds since midnight Jan. 1, 1970.

False

datetime

Specifies the new modification time of the file in the format MM/DD/YYYY HH:MM AM_or_PM.

False

failonerror

Determines whether task failure stops the build or is just reported. Default is "true."

False

verbose

Task reports detailed build log messages. Default is "false."

False

if

If true then the task will be executed; otherwise skipped. Default is "true."

False

unless

Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false."

False

Example

<touch> <fileset> <includes name="**/*.exe"/> <includes name="**/*.dll"/> </fileset> </touch>