Changeset 1514
- Timestamp:
- 04/06/08 17:46:48 (1 month ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/org/stubbles/phing/tasks/stubCheckInitializersTask.php
r1456 r1514 11 11 */ 12 12 require_once 'phing/Task.php'; 13 /** 14 * Uses stubbles star classes 15 */ 16 require_once stubConfig::getSourcePath() . '/php/org/stubbles/star/StarException.php'; 17 require_once stubConfig::getSourcePath() . '/php/org/stubbles/star/StarStreamWrapper.php'; 18 StarStreamWrapper::register(); 13 19 /** 14 20 * Task to check that initializers do not throw any exception. trunk/src/main/php/org/stubbles/star/StarClassRegistry.php
r1238 r1514 156 156 $path = str_replace('star://', '', str_replace('?org::stubbles::star::StarClassRegistry', '', __FILE__)); 157 157 self::$libPathes[dirname($path)] = true; 158 } elseif (class_exists('stubConfig', false) === true) { 159 self::$libPathes[stubConfig::getLibPath()] = true; 158 160 } else { 159 161 self::$libPathes[realpath(getcwd() . '/../lib')] = true;
