classes/phing/Target.php
public function performTasks()
    {
        try { // try to execute this target
            $this->project->fireTargetStarted($this);
            $this->main();
            $this->project->fireTargetFinished($this, $null = null);
        } catch (BuildException $exc) {
            // log here and rethrow
            $this->project->fireTargetFinished($this, $exc);
            throw $exc;
        }
    }
public function performTasks()
    {
        try { // try to execute this target
            $this->project->fireTargetStarted($this);
            $this->main();
            $this->project->fireTargetFinished($this, $null = null);
        } catch (BuildException $exc) {
            // log here and rethrow
            $this->project->fireTargetFinished($this, $exc);
            throw $exc;
        }
    }
public function performTasks ( ) { try { // try to execute this target $ this -> project -> fireTargetStarted ( $ this ) ; $ this -> main ( ) ; $ this -> project -> fireTargetFinished ( $ this , $ null = null ) ; } catch ( BuildException $ exc ) { // log here and rethrow $ this -> project -> fireTargetFinished ( $ this , $ exc ) ; throw $ exc ; } }
Performs the tasks by calling the main method of this target that
actually executes the tasks.

This method is for ZE2 and used for proper exception handling of
task exceptions.
Performs the tasks by calling the main method of this target that actually executes the tasks .