next up previous contents index
Next: Parameters Up: Copy Previous: Copy   Contents   Index

Description

Copies a file or FileSet to a new file or directory. By default, files are only copied if the source file is newer than the destination file, or when the destination file does not exist. However, you can explicitly overwrite files with the overwrite attribute.

FileSets are used to select a set of files to copy. To use a <fileset>, the todir attribute must be set.

Note: If you employ filters in your copy operation, you should limit the copy to text files. Binary files will be corrupted by the copy operation. This applies whether the filters are implicitly defined by the filter task or explicitly provided to the copy operation as filtersets



Andrew Marlow 2003-07-08