diff --git a/docs/manual/Tasks/touch.html b/docs/manual/Tasks/touch.html index 290d3e718..8dbbb137d 100644 --- a/docs/manual/Tasks/touch.html +++ b/docs/manual/Tasks/touch.html @@ -34,6 +34,18 @@ resource collections (which also includes directories). Prior to Ant 1.7 only FileSet or Filelist (since Ant 1.6) have been supported.

+

Ant uses the API of java.io.File to set the last + modification time which has some limitations. For example the + timestamp granularity depends on the operating system and sometimes + the operating system may allow a granularity smaller than + milliseconds. If you need more control you have to fall back to + the <exec> task and native commands.

+ +

Starting with Ant 1.8.2 Ant will log a warning message if it fails + to change the file modification time. This will happen if you try + to change the modification time of a file you do not own on many + Unix systems, for example.

+

Parameters