<uptodate>

Check modification dates on groups of files.

If all targetfiles are same or newer than all sourcefiles, the specified property is set to true, otherwise it is set to false.

Parameters

AttributeTypeDescriptionRequired
propertystring Property that will be set to true or false depending on the result of the date check. True
failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbosebool Determines whether the task should report detailed build log messages. The default is false. False

Nested Elements:

<sourcefiles>

The <fileset> that contains list of source files.

</sourcefiles>

<targetfiles>

The <fileset> that contains list of target files.

</targetfiles>

Examples

Requirements

Assembly: NAnt.Core (0.91.4312.0)