Changeset 311
- Timestamp:
- 11/17/07 02:30:23 (8 months ago)
- Files:
-
- trunk/classes/phing/IntrospectionHelper.php (modified) (1 diff)
- trunk/classes/phing/filters/TidyFilter.php (modified) (1 diff)
- trunk/classes/phing/filters/XincludeFilter.php (modified) (1 diff)
- trunk/classes/phing/filters/XsltFilter.php (modified) (1 diff)
- trunk/classes/phing/listener/BuildListener.php (moved) (moved from trunk/classes/phing/BuildListener.php) (1 diff)
- trunk/classes/phing/listener/BuildLogger.php (moved) (moved from trunk/classes/phing/BuildLogger.php) (1 diff)
- trunk/classes/phing/listener/PearLogListener.php (modified) (1 diff)
- trunk/classes/phing/parser/AbstractSAXParser.php (modified) (1 diff)
- trunk/classes/phing/system/io/File.php (moved) (moved from trunk/classes/phing/system/io/PhingFile.php) (1 diff)
- trunk/classes/phing/tasks/ext/creole/CreoleTask.php (modified) (1 diff)
- trunk/classes/phing/tasks/ext/pdo/PDOTask.php (modified) (1 diff)
- trunk/classes/phing/tasks/ext/phpdoc/PhpDocumentorTask.php (modified) (1 diff)
- trunk/classes/phing/tasks/ext/phpunit/PHPUnitTask.php (modified) (1 diff)
- trunk/classes/phing/types/Path.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/classes/phing/IntrospectionHelper.php
r307 r311 22 22 namespace phing; 23 23 use phing::util::StringHelper; 24 24 use phing::types::Path; 25 25 26 26 /** trunk/classes/phing/filters/TidyFilter.php
r309 r311 96 96 function read($len = null) { 97 97 98 if (!class_exists('Tidy' )) {98 if (!class_exists('Tidy', false)) { 99 99 throw new BuildException("You must enable the 'tidy' extension in your PHP configuration in order to use the Tidy filter."); 100 100 } trunk/classes/phing/filters/XincludeFilter.php
r310 r311 57 57 function read($len = null) { 58 58 59 if (!class_exists('DomDocument' )) {59 if (!class_exists('DomDocument', false)) { 60 60 throw new BuildException("Could not find the DomDocument class. Make sure PHP has been compiled/configured to support DOM XML."); 61 61 } trunk/classes/phing/filters/XsltFilter.php
r310 r311 130 130 function read($len = null) { 131 131 132 if (!class_exists('XSLTProcessor' )) {132 if (!class_exists('XSLTProcessor', false)) { 133 133 throw new BuildException("Could not find the XSLTProcessor class. Make sure PHP has been compiled/configured to support XSLT."); 134 134 } trunk/classes/phing/listener/BuildListener.php
r123 r311 19 19 * <http://phing.info>. 20 20 */ 21 22 namespace phing::listener; 23 use phing::BuildEvent; 21 24 22 25 /** trunk/classes/phing/listener/BuildLogger.php
r147 r311 20 20 */ 21 21 22 require_once 'phing/BuildListener.php'; 22 namespace phing::listener; 23 use phing::system::io::OutputStream; 23 24 24 25 /** trunk/classes/phing/listener/PearLogListener.php
r309 r311 94 94 95 95 include_once 'Log.php'; 96 if (!class_exists('Log' )) {96 if (!class_exists('Log', false)) { 97 97 throw new BuildException("Cannot find PEAR Log class for use by PearLogger."); 98 98 } trunk/classes/phing/parser/AbstractSAXParser.php
r309 r311 22 22 namespace phing::parser; 23 23 use phing::BuildException; 24 use phing::Phing; 24 25 25 26 /** trunk/classes/phing/system/io/File.php
r262 r311 20 20 */ 21 21 22 include_once 'phing/system/io/FileSystem.php'; 23 include_once 'phing/system/lang/NullPointerException.php'; 22 namespace phing::system::io; 23 use phing::system::io::FileSystem; 24 use phing::system::lang::NullPointerException; 24 25 25 26 /** 26 * An abstractrepresentation of file and directory pathnames.27 * An representation of file and directory pathnames. 27 28 * 28 * @version $Revision: 1.1 $29 29 * @package phing.system.io 30 30 */ 31 class PhingFile {31 class File { 32 32 33 33 /** separator string, static, obtained from FileSystem */ trunk/classes/phing/tasks/ext/creole/CreoleTask.php
r309 r311 88 88 function init() { 89 89 include_once 'creole/Creole.php'; 90 if (!class_exists('Creole' )) {90 if (!class_exists('Creole', false)) { 91 91 throw new Exception("Creole task depends on Creole classes being on include_path. (i.e. include of 'creole/Creole.php' failed.)"); 92 92 } trunk/classes/phing/tasks/ext/pdo/PDOTask.php
r309 r311 73 73 */ 74 74 function init() { 75 if (!class_exists('PDO' )) {75 if (!class_exists('PDO', false)) { 76 76 throw new Exception("PDOTask depends on PDO feature being included in PHP."); 77 77 } trunk/classes/phing/tasks/ext/phpdoc/PhpDocumentorTask.php
r310 r311 281 281 set_include_path(get_include_path() . PATH_SEPARATOR . $found); 282 282 include_once ("phpDocumentor/Setup.inc.php"); 283 if (!class_exists('phpDocumentor_setup' )) {283 if (!class_exists('phpDocumentor_setup', false)) { 284 284 throw new BuildException("Error including PhpDocumentor setup class file."); 285 285 } trunk/classes/phing/tasks/ext/phpunit/PHPUnitTask.php
r309 r311 67 67 @include_once 'PHPUnit2/Runner/Version.php'; 68 68 69 if (class_exists('PHPUnit_Runner_Version' ))70 { 69 if (class_exists('PHPUnit_Runner_Version', false)) 70 { 71 71 $version = PHPUnit_Runner_Version::id(); 72 72 } 73 elseif (class_exists('PHPUnit2_Runner_Version' ))73 elseif (class_exists('PHPUnit2_Runner_Version', false)) 74 74 { 75 75 $version = PHPUnit2_Runner_Version::id(); trunk/classes/phing/types/Path.php
r310 r311 25 25 use phing::Project; 26 26 use phing::sytem::io::File; 27 use phing::util::PathTokenizer; 27 28 28 29 /**
