classes/phing/Project.php
public function getBasedir()
    {
        if ($this->basedir === null) {
            try { // try to set it
                $this->setBasedir(".");
            } catch (BuildException $exc) {
                throw new BuildException("Can not set default basedir. " . $exc->getMessage());
            }
        }

        return $this->basedir;
    }
public function getBasedir()
    {
        if ($this->basedir === null) {
            try { // try to set it
                $this->setBasedir(".");
            } catch (BuildException $exc) {
                throw new BuildException("Can not set default basedir. " . $exc->getMessage());
            }
        }

        return $this->basedir;
    }
public function getBasedir ( ) { if ( $ this -> basedir === null ) { try { // try to set it $ this -> setBasedir ( "." ) ; } catch ( BuildException $ exc ) { throw new BuildException ( "Can not set default basedir. " . $ exc -> getMessage ( ) ) ; } } return $ this -> basedir ; }
Returns the basedir of this project

@return PhingFile      Basedir PhingFile object

@throws BuildException

@author Andreas Aderhold, andi@binarycloud.com
Returns the basedir of this project