B.24 IncludePathTask

Modifies the PHP include_path configuration option for the duration of this phing run.

The given path can be prepended (default) or appended to the current include path, or it can replace the include path.

Table B.24: Attributes

classpathStringthe new include path[s]n/aYes
classPathRefStringReference to a previously defined Path typen/aNo
modeStringWhether to prepend, append or replace the include path with the given path.prependNo

B.24.1 Examples

<includepath classpath="new/path/here" />
<includepath classpath="path1:path2" />
<path id="project.class.path">
  <pathelement dir="lib/"/>
  <pathelement dir="ext/"/>
<includepath classpathref="project.class.path" />