protected function getPropertiesFile()
    {
        $propertyfile = getcwd().'/build.properties';

        if (true === $this->input->hasParameterOption('--propertyfile')) {
            $propertyfile = realpath($this->input->getParameterOption('--propertyfile'));
        }

        if (is_file($propertyfile) && is_readable($propertyfile)) {
            return $propertyfile;
        }

        if (true === $this->input->hasParameterOption('--propertyfile')) {
            throw new \Exception(
                sprintf(
                    'Could not find properties file "%s"',
                    $this->input->getParameterOption('--propertyfile')
                )
            );
        }

        return false;
    }
protected function getPropertiesFile()
    {
        $propertyfile = getcwd().'/build.properties';

        if (true === $this->input->hasParameterOption('--propertyfile')) {
            $propertyfile = realpath($this->input->getParameterOption('--propertyfile'));
        }

        if (is_file($propertyfile) && is_readable($propertyfile)) {
            return $propertyfile;
        }

        if (true === $this->input->hasParameterOption('--propertyfile')) {
            throw new \Exception(
                sprintf(
                    'Could not find properties file "%s"',
                    $this->input->getParameterOption('--propertyfile')
                )
            );
        }

        return false;
    }
protected function getPropertiesFile ( ) { $ propertyfile = getcwd ( ) . '/build.properties' ; if ( true === $ this -> input -> hasParameterOption ( '--propertyfile' ) ) { $ propertyfile = realpath ( $ this -> input -> getParameterOption ( '--propertyfile' ) ) ; } if ( is_file ( $ propertyfile ) && is_readable ( $ propertyfile ) ) { return $ propertyfile ; } if ( true === $ this -> input -> hasParameterOption ( '--propertyfile' ) ) { throw new \ Exception ( sprintf ( 'Could not find properties file "%s"' , $ this -> input -> getParameterOption ( '--propertyfile' ) ) ) ; } return false ; }
Finds and returns the file set as the build.properties file.

@return string|false
Finds and returns the file set as the build . properties file .