NAnt SDK Documentation - v0.85-nightly-2005-11-09

PathSet Class

[This is preliminary documentation and subject to change.]

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.

For a list of all members of this type, see PathSet Members.

System.Object
   NAnt.Core.Element
      NAnt.Core.DataTypeBase
         NAnt.Core.Types.PathSet

[Visual Basic]
<Serializable, _  Serializable, _  ElementName(Name:="path")>
Public Class PathSet
    Inherits DataTypeBase
[C#]
[Serializable]
[Serializable]
[ElementName(Name="path")]
public class PathSet : DataTypeBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Missing <remarks> documentation for T:NAnt.Core.Types.PathSet

Example

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

Namespace: NAnt.Core.Types

Assembly: NAnt.Core (in NAnt.Core.dll)

See Also

PathSet Members | NAnt.Core.Types Namespace