classes/phing/tasks/system/EchoTask.php
protected function getFilesetsMsg()
    {
        $project = $this->getProject();
        $msg = '';
        foreach ($this->filesets as $fs) {
            $ds = $fs->getDirectoryScanner($project);
            $fromDir = $fs->getDir($project);
            $srcDirs = $ds->getIncludedDirectories();
            $srcFiles = $ds->getIncludedFiles();
            $msg .= 'Directory: ' . $fromDir . ' => '
                . realpath($fromDir) . "\n";
            foreach ($srcDirs as $dir) {
                $relPath = $fromDir . DIRECTORY_SEPARATOR . $dir;
                $msg .= $relPath . "\n";
            }
            foreach ($srcFiles as $file) {
                $relPath = $fromDir . DIRECTORY_SEPARATOR . $file;
                $msg .= $relPath . "\n";
            }
        }

        return $msg;
    }
protected function getFilesetsMsg()
    {
        $project = $this->getProject();
        $msg = '';
        foreach ($this->filesets as $fs) {
            $ds = $fs->getDirectoryScanner($project);
            $fromDir = $fs->getDir($project);
            $srcDirs = $ds->getIncludedDirectories();
            $srcFiles = $ds->getIncludedFiles();
            $msg .= 'Directory: ' . $fromDir . ' => '
                . realpath($fromDir) . "\n";
            foreach ($srcDirs as $dir) {
                $relPath = $fromDir . DIRECTORY_SEPARATOR . $dir;
                $msg .= $relPath . "\n";
            }
            foreach ($srcFiles as $file) {
                $relPath = $fromDir . DIRECTORY_SEPARATOR . $file;
                $msg .= $relPath . "\n";
            }
        }

        return $msg;
    }
protected function getFilesetsMsg ( ) { $ project = $ this -> getProject ( ) ; $ msg = '' ; foreach ( $ this -> filesets as $ fs ) { $ ds = $ fs -> getDirectoryScanner ( $ project ) ; $ fromDir = $ fs -> getDir ( $ project ) ; $ srcDirs = $ ds -> getIncludedDirectories ( ) ; $ srcFiles = $ ds -> getIncludedFiles ( ) ; $ msg .= 'Directory: ' . $ fromDir . ' => ' . realpath ( $ fromDir ) . "\n" ; foreach ( $ srcDirs as $ dir ) { $ relPath = $ fromDir . DIRECTORY_SEPARATOR . $ dir ; $ msg .= $ relPath . "\n" ; } foreach ( $ srcFiles as $ file ) { $ relPath = $ fromDir . DIRECTORY_SEPARATOR . $ file ; $ msg .= $ relPath . "\n" ; } } return $ msg ; }
Merges all filesets into a string to be echoed out

@return string String to echo
Merges all filesets into a string to be echoed out