B.45 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.46: Attributes

targetStringThe name of the target to run.n/aYes

B.45.1 Example

<runtarget target="test" />