Filename

The <filename> tag acts like the <include> and <exclude> tags within a fileset. By using a selector instead, however, one can combine it with all the other selectors using whatever selector container is desired.

<fileset dir="${src}" includes="**/*">
  <filename name="**/*.php">
</fileset>

Table 200.  Attributes for the <filename> selector

Name Description Default Required
name The name of files to select. The name parameter can contain the standard Ant wildcard characters. n/a Yes
casesensitive Whether to pay attention to case when looking at file names. true No
negate Whether to reverse the effects of this filename selection, therefore emulating an exclude rather than include tag. false No