G.4 Depth

The <depentry> tag selects files based on how many directory levels deep they are in relation to the base directory of the fileset.

<fileset dir="phing/classes" includes="**/*.php">
  <depth max="1"/>
</fileset>

Table G.4:  Attributes for the <depentry> selector

NameDescriptionDefaultRequired
minThe minimum number of directory levels below the base directory that a file must be in order to be selected.0One of the two
maxThe maximum number of directory levels below the base directory that a file can be and still be selected.0