Paths are groups of files and/or directories that need to be passed as a single unit. The order in which parts of the path are specified in the build file is retained, and duplicate parts are automatically suppressed.
Parameters
Attribute | Type | Description | Required |
---|---|---|---|
id | string |
The ID used to be referenced later.
|
False |
refid | string |
The ID to use as the reference.
|
False |
Examples
Define a global <path>
that can be referenced by other
tasks or types.
<path id="includes-path">
<pathelement path="%INCLUDE%" />
<pathelement dir="${build.dir}/include" />
</path>
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Types