Class IncludePath

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.Path
net.sf.antcontrib.cpptasks.types.ConditionalPath
net.sf.antcontrib.cpptasks.types.IncludePath
All Implemented Interfaces:
Cloneable, Iterable<org.apache.tools.ant.types.Resource>, org.apache.tools.ant.types.ResourceCollection

public class IncludePath extends ConditionalPath
An include path. Works like other paths in Ant with with the addition of "if" and "unless" conditions.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.tools.ant.types.Path

    org.apache.tools.ant.types.Path.PathElement
  • Field Summary

    Fields inherited from class org.apache.tools.ant.types.Path

    systemBootClasspath, systemClasspath

    Fields inherited from class org.apache.tools.ant.types.DataType

    checked, ref

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
    IncludePath(org.apache.tools.ant.Project project)
     
    IncludePath(org.apache.tools.ant.Project p, String path)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class net.sf.antcontrib.cpptasks.types.ConditionalPath

    isActive, setIf, setUnless

    Methods inherited from class org.apache.tools.ant.types.Path

    add, add, addDirset, addExisting, addExisting, addExtdirs, addFilelist, addFileset, addJavaRuntime, append, assertFilesystemOnly, clone, concatSystemBootClasspath, concatSystemClasspath, concatSystemClasspath, createPath, createPathElement, delegateIteratorToList, dieOnCircularReference, isFilesystemOnly, iterator, list, setCache, setLocation, setPath, setRefid, size, toString, translateFile, translateFileSep, translatePath

    Methods inherited from class org.apache.tools.ant.types.DataType

    checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes

    Methods inherited from class org.apache.tools.ant.ProjectComponent

    getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface org.apache.tools.ant.types.ResourceCollection

    isEmpty, stream
  • Constructor Details

    • IncludePath

      public IncludePath(org.apache.tools.ant.Project project)
    • IncludePath

      public IncludePath(org.apache.tools.ant.Project p, String path)
  • Method Details

    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Throws:
      org.apache.tools.ant.BuildException