D.5 Path / Classpath
Prev | Appendix D. Core Types | Next

## D.5 Path / Classpath

The Path data type can be used to respresent 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/"/>
    </paentry>

    <target name="blah">
      <taskdef name="mytask" path="myapp.phing.tasks.MyTask">
        <classpath refid="project.class.path"/>
      </taskdef>
    </target>

Table D.5: Attributes for `<paentry>` tag

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`dir` | `String` | Specific path to directory | n/a | No
`path` | `String` | A path (which contains multiple locations separated by path.separator) to add. | n/a | No

### D.5.1 Nested tags

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

Prev | Up | Next
D.4 PatternSet | Home | D.6 PearPackageFileSet