| 604 | | throw new BuildException("Could not instantiate class $cls, even though a class was specified. (Make sure that the specified class file contains a class with the correct name.)"); |
|---|
| | 604 | # Try PEAR naming schema before throwing exception |
|---|
| | 605 | $sFullClass = str_replace('.', '_', $class); |
|---|
| | 606 | if (!class_exists($sFullClass)) { |
|---|
| | 607 | throw new BuildException("Could not find class $cls or $sFullClass, even though a class was specified. (Make sure that the specified class file contains a class with the correct name.)"); |
|---|
| | 608 | } else { |
|---|
| | 609 | $cls = $sFullClass; |
|---|
| | 610 | } |
|---|