Check modification dates on groups of files.
For a list of all members of this type, see UpToDateTask Members.
System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.Core.Tasks.UpToDateTask
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
If all TargetFiles are same or newer than all SourceFiles, the specified property is set to true, otherwise it is set to false.
Check file dates. If myfile.dll
is same or newer than myfile.cs
, then set myfile.dll.uptodate
property to either true or false.
<uptodate property="myfile.dll.uptodate"> <sourcefiles> <include name="myfile.cs" /> </sourcefiles> <targetfiles> <include name="myfile.dll" /> </targetfiles> </uptodate>
Namespace: NAnt.Core.Tasks
Assembly: NAnt.Core (in NAnt.Core.dll)
UpToDateTask Members | NAnt.Core.Tasks Namespace