classes/phing/Project.php
public function executeTargets($targetNames)
    {
        $this->executedTargetNames = $targetNames;

        foreach ($targetNames as $tname) {
            $this->executeTarget($tname);
        }
    }
public function executeTargets($targetNames)
    {
        $this->executedTargetNames = $targetNames;

        foreach ($targetNames as $tname) {
            $this->executeTarget($tname);
        }
    }
public function executeTargets ( $ targetNames ) { $ this -> executedTargetNames = $ targetNames ; foreach ( $ targetNames as $ tname ) { $ this -> executeTarget ( $ tname ) ; } }
Executes a list of targets

@param  array $targetNames List of target names to execute
@return void
@throws BuildException
Executes a list of targets