Changeset 961ce15


Ignore:
Timestamp:
12/07/11 20:59:40 (6 months ago)
Author:
mrook
Branches:
master
Children:
c37741a
Parents:
730cf45
git-author:
Michiel Rook <mrook@…> (12/07/11 20:59:40)
git-committer:
Michiel Rook <mrook@…> (12/07/11 20:59:40)
Message:

Show value of basedir in exception

Location:
classes/phing/tasks/ext
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • classes/phing/tasks/ext/TarTask.php

    red3ff78 r961ce15  
    205205            if ($this->baseDir !== null) { 
    206206                if (!$this->baseDir->exists()) { 
    207                     throw new BuildException("basedir does not exist!", $this->getLocation()); 
     207                    throw new BuildException("basedir '" . (string) $this->baseDir . "' does not exist!", $this->getLocation()); 
    208208                } 
    209209                if (empty($this->filesets)) { // if there weren't any explicit filesets specivied, then 
  • classes/phing/tasks/ext/ZipTask.php

    red3ff78 r961ce15  
    132132            if ($this->baseDir !== null) { 
    133133                if (!$this->baseDir->exists()) { 
    134                     throw new BuildException("basedir does not exist!", $this->getLocation()); 
     134                    throw new BuildException("basedir '" . (string) $this->baseDir . "' does not exist!", $this->getLocation()); 
    135135                } 
    136136                 
  • classes/phing/tasks/ext/phar/PharPackageTask.php

    r0769245 r961ce15  
    262262        if (!is_null($this->baseDirectory)) { 
    263263            if (!$this->baseDirectory->exists()) { 
    264                 throw new BuildException("basedir does not exist!", $this->getLocation()); 
     264                throw new BuildException("basedir '" . (string) $this->baseDirectory . "' does not exist!", $this->getLocation()); 
    265265            } 
    266266        } 
Note: See TracChangeset for help on using the changeset viewer.