ANT's directory and file-based Task operation will exclude a matching template, which is a description in the ANT document.
DEFAULT EXCLUDES
For a simple example, when you pack it with JAR, he will not pack the CVS directory in your source directory in your JAR, should be included in the default exclude list. If your operation needs to include match items defined in Default Excludes, then you can
DefaultExCludes = "no" property disables the default excludes, or you can use the defaultxcludes task to modify the default mode match list, such as Add, REMOVE match. E.g
There Are A Set of Definitions That Are Excluded by Default from All Directory-Based Tasks. They Are:
** / * ~
** / # * #
** /. # *
** /% *%
** / ._ *
** / cvs
** / cvs / **
** /. cvsignore
** / sccs
** / SCCS / **
** / vssver.scc
** /. svn
** /. svn / **
** /. DS_STORE