G.10 Type

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

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

Table G.11:  Attributes for the <type> selector

NameDescriptionDefaultRequired
typeThe type of file which should be tested for. Either file or dir.n/aYes