next up previous contents index
Next: Parameters specified as nested Up: Move Previous: Description   Contents   Index

Parameters

file the file to move One of file or at least one nested fileset element
preservelastmodified Give the moved files the same last modified time as the original source files. (Note: Ignored on Java 1.1) No; defaults to false.
Attribute
tofile
todir
the file to move to
todir the directory to move to
With the file attribute, either tofile or can be used. With nested filesets, if the fileset size is greater than 1 or if the only entry in the fileset is a directory or if the file attribute is already specified, only todir is allowed
overwrite overwrite existing files even if the destination files are newer (default is "true") No
filtering indicates whether token filtering should take place during the move. See the filter task for a description of how filters work. No
flatten ignore directory structure of source directory, copy all files into a single directory, specified by the todir attribute (default is "false").Note that you can achieve the same effect by using a flatten mapper No
includeEmptyDirs Copy empty directories included with the nested FileSet(s). Defaults to "yes". No
failonerror Log a warning message, but do not stop the build, when the file to move does not exist. Only meaningful when moving a single file. No; defaults to true.
verbose Log the files that are being moved. No; defaults to false.
encoding The encoding to assume when filter-moving the files. since Ant 1.5. No - defaults to default JVM encoding


next up previous contents index
Next: Parameters specified as nested Up: Move Previous: Description   Contents   Index
Andrew Marlow 2003-07-08