protected function validate()
    {
        if (empty($this->schemaFilesets)) {
            throw new BuildException("You must specify a fileset of XML schemas.", $this->getLocation());
        }

        // Make sure the output directory is set.
        if ($this->outputDirectory === null) {
            throw new BuildException("The output directory needs to be defined!", $this->getLocation());
        }

        if ($this->validate) {
            if (!$this->xsdFile) {
                throw new BuildException("'validate' set to TRUE, but no XSD specified (use 'xsd' attribute).", $this->getLocation());
            }
        }
    }
protected function validate()
    {
        if (empty($this->schemaFilesets)) {
            throw new BuildException("You must specify a fileset of XML schemas.", $this->getLocation());
        }

        // Make sure the output directory is set.
        if ($this->outputDirectory === null) {
            throw new BuildException("The output directory needs to be defined!", $this->getLocation());
        }

        if ($this->validate) {
            if (!$this->xsdFile) {
                throw new BuildException("'validate' set to TRUE, but no XSD specified (use 'xsd' attribute).", $this->getLocation());
            }
        }
    }
protected function validate ( ) { if ( empty ( $ this -> schemaFilesets ) ) { throw new BuildException ( "You must specify a fileset of XML schemas." , $ this -> getLocation ( ) ) ; } // Make sure the output directory is set. if ( $ this -> outputDirectory === null ) { throw new BuildException ( "The output directory needs to be defined!" , $ this -> getLocation ( ) ) ; } if ( $ this -> validate ) { if ( ! $ this -> xsdFile ) { throw new BuildException ( "'validate' set to TRUE, but no XSD specified (use 'xsd' attribute)." , $ this -> getLocation ( ) ) ; } } }
Checks this class against Basic requirements of any propel datamodel task.

@throws BuildException - if schema fileset was not defined
- if no output directory was specified
Checks this class against Basic requirements of any propel datamodel task .