classes/phing/tasks/system/RunTargetTask.php
public function main()
    {
        if ($this->target == null) {
            throw new BuildException('target property required');
        }

        $this->getProject()->executeTarget($this->target);
    }
public function main()
    {
        if ($this->target == null) {
            throw new BuildException('target property required');
        }

        $this->getProject()->executeTarget($this->target);
    }
public function main ( ) { if ( $ this -> target == null ) { throw new BuildException ( 'target property required' ) ; } $ this -> getProject ( ) -> executeTarget ( $ this -> target ) ; }
execute the target

@throws BuildException if a target is not specified
execute the target