Attribute | Description | Required |
src | the directory to copy. | Yes |
dest | the directory to copy to. | Yes |
includes | comma- or space-separated list of patterns of files that must be included. All files are included when omitted. | No |
includesfile | the name of a file. Each line of this file is taken to be an include pattern | No |
excludes | comma- or space-separated list of patterns of files that must be excluded. No files (except default excludes) are excluded when omitted. | No |
excludesfile | the name of a file. Each line of this file is taken to be an exclude pattern | No |
defaultexcludes | indicates whether default excludes should be used or not ("yes"/"no"). Default excludes are used when omitted. | No |
filtering | indicates whether token filtering should take place during the copy | No |
flatten | ignore directory structure of source directory, copy all files into a single directory, specified by the dest attribute (default is false). | No |
forceoverwrite | overwrite existing files even if the destination files are newer (default is false). | No |