Type

The <type> tag selects files of a certain type: directory or regular.

<fileset dir="${src}">
  <type type="dir"/>
</fileset>

Table 210.  Attributes for the <type> selector

Name Description Default Required
type The type of file which should be tested for. Either file or dir. n/a Yes