Changeset 307 for trunk/pear
- Timestamp:
- 11/15/07 13:17:47 (1 year ago)
- Files:
-
- trunk/pear/BuildPhingPEARPackageTask.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pear/BuildPhingPEARPackageTask.php
r265 r307 20 20 */ 21 21 22 require_once 'phing/tasks/system/MatchingTask.php'; 23 include_once 'phing/types/FileSet.php'; 24 include_once 'phing/tasks/ext/pearpackage/Fileset.php'; 22 23 24 25 25 26 26 /** … … 68 68 if ($this->packageFile !== null) { 69 69 // create one w/ full path 70 $f = new PhingFile($this->packageFile->getAbsolutePath());70 $f = new File($this->packageFile->getAbsolutePath()); 71 71 $options['packagefile'] = $f->getName(); 72 72 // must end in trailing slash … … 203 203 204 204 /** 205 * Used by the PEAR_PackageFileManager_ PhingFileSet lister.205 * Used by the PEAR_PackageFileManager_FileSet lister. 206 206 * @return array FileSet[] 207 207 */ … … 252 252 /** 253 253 * Sets "dir" property from XML. 254 * @param PhingFile $f255 * @return void 256 */ 257 public function setDir( PhingFile $f) {254 * @param File $f 255 * @return void 256 */ 257 public function setDir(File $f) { 258 258 $this->dir = $f; 259 259 } … … 262 262 * Sets the file to use for generated package.xml 263 263 */ 264 public function setDestFile( PhingFile $f) {264 public function setDestFile(File $f) { 265 265 $this->packageFile = $f; 266 266 }
