UpToDateTask
tests if a file is newer than another file or files and sets
a property if it is. This is a common way to avoid, possibly time consuming, creation of
a target if none of the files/resources it depends on have changed.
Table 61. Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
property |
String |
Name of the property that is to be set | n/a | Yes |
value |
String |
The value the property is to be set to | true |
No |
srcfile |
String |
The file to check against target file(s) | n/a | Yes (or nested fileset )
|
targetfile |
String |
The file for which we want to determine the status | n/a | Yes (or nested mapper )
|