B.54 RunTargetTask

Phing task that runs a target without creating a new project.

Difference to <phingcall>

The main difference of <runtarget> and <phingcall> is that <phingcall> will start the phing target in a new project and will not affect the main project. <runtarget> calls a target in the same project, which could be have an effect on any existing properties. Dependency management would only be given by <phingcall>.

Table B.56: Attributes

NameTypeDescriptionDefaultRequired
target String The name of the target to run.n/aYes

B.54.1 Example

<runtarget target="test" />