diff --git a/docs/index.html b/docs/index.html index 657bd62b7..587c2aef6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1189,40 +1189,46 @@ To use a fileset, the todir attribute must be set.

file - the file to copy + The file to copy. One of either file or at least one nested fileset element. tofile - the file to copy to + The file to copy to. With the file attribute, either tofile or todir can be used. With nested filesets, only todir is allowed. todir - the directory to copy to + The directory to copy to. overwrite - overwrite existing files even if the destination - files are newer (default is no) + Overwrite existing files even if the destination + files are newer. Defaults to "no". No filtering - indicates whether token filtering should take place during - the copy (default is no) + Indicates whether token filtering should take place during + the copy. Defaults to "no". No flatten - ignore directory structure of source directory, + Ignore directory structure of source directory, copy all files into a single directory, specified by the todir - attribute (default is false) + attribute. Defaults to "no". No + + includeEmptyDirs + Copy empty directories included with the nested FileSet(s). + Defaults to "yes". + No +

Examples

Copy a single file

@@ -3211,7 +3217,7 @@ necessary.


Move

Description

-

Moves a file or directory to a new file or directory, or sets of files to +

Moves a file to a new file or directory, or sets of files to a new directory. By default, the destination file is overwritten if it already exists. When overwrite is turned off, then files are only moved if the source file is newer than @@ -3228,19 +3234,15 @@ to move to the todir directory.

file the file to move - One of file or - dir are required, or at least one nested fileset element - - - dir - the directory to move + One of file or + at least one nested fileset element tofile the file to move to With the file attribute, - either tofile or todir can be used. With the dir - attribute or a nested fileset, only todir is allowed. + either tofile or todir can be used. With a nested fileset, + only todir is allowed. todir @@ -3266,6 +3268,12 @@ to move to the todir directory.

attribute (default is "false"). No + + includeEmptyDirs + Copy empty directories included with the nested FileSet(s). + Defaults to "yes". + No +

Examples

Move a single file (rename a file)

@@ -3278,9 +3286,10 @@ to move to the todir directory.

Move a directory to a new directory

-  <move dir="src/dir" todir="new/dir/to/move/to" />
+  <move todir="new/dir/to/move/to">
+    <fileset dir="src/dir"/>
+  </move>
 
-

Note that the directory src/dir will be removed.

Move a set of files to a new directory

   <move todir="some/new/dir" >