classes/phing/tasks/ext/dbdeploy/DbDeployTask.php
public function main()
    {
        try {
            // get correct DbmsSyntax object
            $dbms = substr($this->url, 0, strpos($this->url, ':'));
            $dbmsSyntaxFactory = new DbmsSyntaxFactory($dbms);
            $this->dbmsSyntax = $dbmsSyntaxFactory->getDbmsSyntax();

            // figure out which revisions are in the db already
            $this->appliedChangeNumbers = $this->getAppliedChangeNumbers();
            $this->log('Current db revision: ' . $this->getLastChangeAppliedInDb());
            $this->log('Checkall: ' . ($this->checkall ? 'On' : 'Off'));

            $this->deploy();
        } catch (Exception $e) {
            throw new BuildException($e);
        }
    }
public function main()
    {
        try {
            // get correct DbmsSyntax object
            $dbms = substr($this->url, 0, strpos($this->url, ':'));
            $dbmsSyntaxFactory = new DbmsSyntaxFactory($dbms);
            $this->dbmsSyntax = $dbmsSyntaxFactory->getDbmsSyntax();

            // figure out which revisions are in the db already
            $this->appliedChangeNumbers = $this->getAppliedChangeNumbers();
            $this->log('Current db revision: ' . $this->getLastChangeAppliedInDb());
            $this->log('Checkall: ' . ($this->checkall ? 'On' : 'Off'));

            $this->deploy();
        } catch (Exception $e) {
            throw new BuildException($e);
        }
    }
public function main ( ) { try { // get correct DbmsSyntax object $ dbms = substr ( $ this -> url , 0 , strpos ( $ this -> url , ':' ) ) ; $ dbmsSyntaxFactory = new DbmsSyntaxFactory ( $ dbms ) ; $ this -> dbmsSyntax = $ dbmsSyntaxFactory -> getDbmsSyntax ( ) ; // figure out which revisions are in the db already $ this -> appliedChangeNumbers = $ this -> getAppliedChangeNumbers ( ) ; $ this -> log ( 'Current db revision: ' . $ this -> getLastChangeAppliedInDb ( ) ) ; $ this -> log ( 'Checkall: ' . ( $ this -> checkall ? 'On' : 'Off' ) ) ; $ this -> deploy ( ) ; } catch ( Exception $ e ) { throw new BuildException ( $ e ) ; } }
The main function for the task

@throws BuildException
@return void
The main function for the task