0
@@ -48,7 +48,7 @@ class symlinkStatics extends Task
0
- $folders = $this->get
Folders();
0
+ $folders = $this->get
_folders();
0
foreach ($folders as $component => $folder)
0
@@ -63,11 +63,11 @@ class symlinkStatics extends Task
0
- * Iterate over all filesets and return the
filename of all files.
0
+ * Iterate over all filesets and return the
details of all separate component and their static folder.
0
- * @return array an array of (
basedir, filenames) pairs
0
+ * @return array an array of (
component, static folder) pairs
0
- private function get
Folders()
0
+ private function get
_folders()
0
@@ -76,12 +76,10 @@ class symlinkStatics extends Task
0
$ds = $fileset->getDirectoryScanner($this->project);
0
- // $includedFiles = $ds->getIncludedFiles();
0
$includedFolders = $ds->getIncludedDirectories();
0
foreach ($includedFolders as $folder)
0
- // $fs = new PhingFile(realpath($ds->getBaseDir()), $file);
0
$folderparts = explode('/', $folder);
0
if (! array_key_exists($folderparts[0], $folders))
0
@@ -96,7 +94,9 @@ class symlinkStatics extends Task
0
* Creates a symlink to the file or directory
0
- * @param string paramname
0
+ * @param string from the folder to link
0
+ * @param string link name of the link to be created
0
+ * @param string debug enable output
0
private function make_symlink($from , $link, $debug = false)
0
@@ -114,7 +114,7 @@ class symlinkStatics extends Task
0
* @param string $command the command to be executed
0
- * @param boolean $debug set to true if you want to just se
the
0
+ * @param boolean $debug set to true if you want to just se
e the
0
* command to be executed.
0
private function exec_command($command, $debug = false) {
Comments
No one has commented yet.