D.7 Path / Classpath

The Path data type can be used to represent path structures. In many cases the path type will be used for nested <classpaentry> tags. E.g.

<path id="project.class.path">
  <pathelement dir="lib/"/>
  <pathelement dir="ext/"/>
</path>

<target name="blah">
  <taskdef name="mytask" path="MyApp\CustomTask\MyTask">
    <classpath refid="project.class.path"/>
  </taskdef>
</target>

Table D.6:  Attributes for <paentry> tag

NameTypeDescriptionDefaultRequired
dirStringSpecific path to directoryn/aNo
pathStringA path (which contains multiple locations separated by path.separator) to add.n/aNo

D.7.1 Nested tags

The <paentry> tag supports nested <fileset> and <dirset> tags.