Changeset 66
- Timestamp:
- 05/09/06 12:36:27 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.2/classes/phing/tasks/ext/phpdoc/PHPDocumentorTask.php
r65 r66 33 33 { 34 34 /** 35 * The name ofthe executable for phpDocumentor35 * The path to the executable for phpDocumentor 36 36 */ 37 const PHPDOC= 'phpdoc';37 private $programPath = 'phpdoc'; 38 38 39 39 private $title = "Default Title"; … … 48 48 49 49 private $parseprivate = false; 50 51 /** 52 * Sets the path to the phpDocumentor executable 53 */ 54 function setProgramPath($programPath) 55 { 56 $this->programPath = $programPath; 57 } 58 59 /** 60 * Returns the path to the phpDocumentor executable 61 */ 62 function getProgramPath() 63 { 64 return $this->programPath; 65 } 50 66 51 67 /** … … 113 129 $this->log("Running phpDocumentor..."); 114 130 115 exec( self::PHPDOC. " " . $arguments, $output, $return);131 exec($this->programPath . " " . $arguments, $output, $return); 116 132 117 133 if ($return != 0) 118 134 { 119 throw new BuildException("Could not execute ionCube Encoder: " . implode(' ', $output));135 throw new BuildException("Could not execute phpDocumentor: " . implode(' ', $output)); 120 136 } 121 137 }
