Changeset 345
- Timestamp:
- 01/30/08 19:46:32 (6 months ago)
- Files:
-
- branches/2.3/classes/phing/Project.php (modified) (1 diff)
- branches/2.3/classes/phing/filters/StripWhitespace.php (modified) (1 diff)
- branches/2.3/classes/phing/tasks/ext/pdo/PDOSQLExecTask.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.3/classes/phing/Project.php
r175 r345 20 20 */ 21 21 22 // DEPRECATED logging constants23 define('PROJECT_MSG_DEBUG', Project::MSG_DEBUG);24 define('PROJECT_MSG_VERBOSE', Project::MSG_VERBOSE);25 define('PROJECT_MSG_INFO', Project::MSG_INFO);26 define('PROJECT_MSG_WARN', Project::MSG_WARN);27 define('PROJECT_MSG_ERR', Project::MSG_ERR);28 29 22 include_once 'phing/system/io/PhingFile.php'; 30 23 include_once 'phing/util/FileUtils.php'; branches/2.3/classes/phing/filters/StripWhitespace.php
r247 r345 63 63 64 64 if(empty($php)) { 65 $this->log("PHP file is empty!", P ROJECT_MSG_WARN);65 $this->log("PHP file is empty!", Project::MSG_WARN); 66 66 return ''; // return empty string, don't attempt to strip whitespace 67 67 } branches/2.3/classes/phing/tasks/ext/pdo/PDOSQLExecTask.php
r319 r345 433 433 // this assumes there is always a delimter on the end of the SQL statement. 434 434 $sql = StringHelper::substring($sql, 0, strlen($sql) - 1 - strlen($this->delimiter)); 435 $this->log("SQL: " . $sql, P ROJECT_MSG_VERBOSE);435 $this->log("SQL: " . $sql, Project::MSG_VERBOSE); 436 436 $this->execSQL($sql); 437 437 $sql = "";
