| 41 | | if (file_exists(stubConfig::getLibPath() . '/stubbles.php') === true) { |
|---|
| 42 | | if ((include_once stubConfig::getLibPath() . '/stubbles.php') === false) { |
|---|
| 43 | | $this->log('Error loading Stubbles library from ' . stubConfig::getLibPath() . '/stubbles.php', Project::MSG_ERR); |
|---|
| 44 | | $this->log('Either stubConfig::getLibPath() is not correctly set, or stubbles.php does not exist.', Project::MSG_ERR); |
|---|
| 45 | | throw new BuildException('Error loading Stubbles library from ' . stubConfig::getLibPath() . '/stubbles.php'); |
|---|
| | 74 | if (file_exists($this->libPath . '/stubbles.php') === true) { |
|---|
| | 75 | if ((include_once $this->libPath . '/stubbles.php') === false) { |
|---|
| | 76 | $this->log('Error loading Stubbles library from ' . $this->libPath . '/stubbles.php', Project::MSG_ERR); |
|---|
| | 77 | throw new BuildException('Error loading Stubbles library from ' . $this->libPath. '/stubbles.php'); |
|---|
| 48 | | if (!@include_once stubConfig::getSourcePath() . '/php/net/stubbles/stubClassLoader.php') { |
|---|
| 49 | | $this->log('Error loading stubClassLoader from ' . stubConfig::getSourcePath() . '/php/net/stubbles/stubClassLoader.php', Project::MSG_ERR); |
|---|
| 50 | | $this->log('Either stubConfig::getSourcePath() is not correctly set, or you are not using a source distribution.', Project::MSG_ERR); |
|---|
| 51 | | throw new BuildException('Error loading stubClassLoader from ' . stubConfig::getSourcePath() . '/php/net/stubbles/stubClassLoader.php'); |
|---|
| | 80 | if (!@include_once $this->sourcePath . '/php/net/stubbles/stubClassLoader.php') { |
|---|
| | 81 | $this->log('Error loading stubClassLoader from ' . $this->sourcePath . '/php/net/stubbles/stubClassLoader.php', Project::MSG_ERR); |
|---|
| | 82 | throw new BuildException('Error loading stubClassLoader from ' . $this->sourcePath . '/php/net/stubbles/stubClassLoader.php'); |
|---|
| 54 | | if ((include_once stubConfig::getLibPath() . '/starWriter.php') === false) { |
|---|
| 55 | | $this->log('Error loading StarWriter from ' . stubConfig::getLibPath() . '/starWriter.php', Project::MSG_ERR); |
|---|
| 56 | | $this->log('Either stubConfig::getLibPath() is not correctly set, or starWriter.php does not exist.', Project::MSG_ERR); |
|---|
| 57 | | throw new BuildException('Error loading StarWriter from ' . stubConfig::getLibPath() . '/starWriter.php'); |
|---|
| | 85 | if ((include_once $this->libPath . '/starWriter.php') === false) { |
|---|
| | 86 | $this->log('Error loading StarWriter from ' . $this->libPath . '/starWriter.php', Project::MSG_ERR); |
|---|
| | 87 | throw new BuildException('Error loading StarWriter from ' . $this->libPath . '/starWriter.php'); |
|---|