classes/phing/tasks/system/PhingCallTask.php
public function main()
    {
        if ($this->getOwningTarget()->getName() === "") {
            $this->log("Cowardly refusing to call target '{$this->subTarget}' from the root", Project::MSG_WARN);
            return;
        }

        $this->log("Running PhingCallTask for target '" . $this->subTarget . "'", Project::MSG_DEBUG);
        if ($this->callee === null) {
            $this->init();
        }

        if ($this->subTarget === null) {
            throw new BuildException("Attribute target is required.", $this->getLocation());
        }

        $this->callee->setPhingFile($this->project->getProperty("phing.file"));
        $this->callee->setTarget($this->subTarget);
        $this->callee->setInheritAll($this->inheritAll);
        $this->callee->setInheritRefs($this->inheritRefs);
        $this->callee->main();
    }
public function main()
    {
        if ($this->getOwningTarget()->getName() === "") {
            $this->log("Cowardly refusing to call target '{$this->subTarget}' from the root", Project::MSG_WARN);
            return;
        }

        $this->log("Running PhingCallTask for target '" . $this->subTarget . "'", Project::MSG_DEBUG);
        if ($this->callee === null) {
            $this->init();
        }

        if ($this->subTarget === null) {
            throw new BuildException("Attribute target is required.", $this->getLocation());
        }

        $this->callee->setPhingFile($this->project->getProperty("phing.file"));
        $this->callee->setTarget($this->subTarget);
        $this->callee->setInheritAll($this->inheritAll);
        $this->callee->setInheritRefs($this->inheritRefs);
        $this->callee->main();
    }
public function main ( ) { if ( $ this -> getOwningTarget ( ) -> getName ( ) === "" ) { $ this -> log ( "Cowardly refusing to call target '{$this->subTarget}' from the root" , Project :: MSG_WARN ) ; return ; } $ this -> log ( "Running PhingCallTask for target '" . $ this -> subTarget . "'" , Project :: MSG_DEBUG ) ; if ( $ this -> callee === null ) { $ this -> init ( ) ; } if ( $ this -> subTarget === null ) { throw new BuildException ( "Attribute target is required." , $ this -> getLocation ( ) ) ; } $ this -> callee -> setPhingFile ( $ this -> project -> getProperty ( "phing.file" ) ) ; $ this -> callee -> setTarget ( $ this -> subTarget ) ; $ this -> callee -> setInheritAll ( $ this -> inheritAll ) ; $ this -> callee -> setInheritRefs ( $ this -> inheritRefs ) ; $ this -> callee -> main ( ) ; }
hand off the work to the phing task of ours, after setting it up

@throws BuildException on validation failure or if the target didn't
execute
hand off the work to the phing task of ours after setting it up