B.56 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.58: Attributes

targetStringThe name of the target to run.n/aYes

B.56.1 Example

<runtarget target="test" />