Changeset 307 for trunk/pear

Show
Ignore:
Timestamp:
11/15/07 13:17:47 (1 year ago)
Author:
hans
Message:

Refs #188 - Adding work-in-progress (still-broken!) namespace support.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pear/BuildPhingPEARPackageTask.php

    r265 r307  
    2020 */ 
    2121 
    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 
    2525 
    2626/** 
     
    6868                if ($this->packageFile !== null) { 
    6969            // create one w/ full path 
    70             $f = new PhingFile($this->packageFile->getAbsolutePath()); 
     70            $f = new File($this->packageFile->getAbsolutePath()); 
    7171            $options['packagefile'] = $f->getName(); 
    7272            // must end in trailing slash 
     
    203203 
    204204    /** 
    205      * Used by the PEAR_PackageFileManager_PhingFileSet lister. 
     205     * Used by the PEAR_PackageFileManager_FileSet lister. 
    206206     * @return array FileSet[] 
    207207     */ 
     
    252252    /** 
    253253     * Sets "dir" property from XML. 
    254      * @param PhingFile $f 
    255      * @return void 
    256      */ 
    257     public function setDir(PhingFile $f) { 
     254     * @param File $f 
     255     * @return void 
     256     */ 
     257    public function setDir(File $f) { 
    258258        $this->dir = $f; 
    259259    } 
     
    262262     * Sets the file to use for generated package.xml 
    263263     */ 
    264     public function setDestFile(PhingFile $f) { 
     264    public function setDestFile(File $f) { 
    265265        $this->packageFile = $f; 
    266266    }