Changeset 916
- Timestamp:
- 09/14/07 15:58:22 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/info/phing/tasks/stubStarWriterTask.php
r830 r916 80 80 * @var array<string,StarDecorator> 81 81 */ 82 protected $decorators ;82 protected $decorators = array(); 83 83 84 84 /** … … 191 191 $decorators[$decorator->getStarId()] = $decorator; 192 192 } 193 193 194 194 $starArchive = new StarArchive(new StarWriter($this->buildPath)); 195 195 foreach($this->filesets as $fs) { … … 208 208 $id = str_replace(DIRECTORY_SEPARATOR, '/', substr($fullFileName, $pos)); 209 209 } 210 210 211 211 $this->log('Adding ' . $fullFileName . ' as ' . $id); 212 212 if (isset($decorators[$id]) == false) { … … 218 218 $this->log('Decorating ' . $id . ' with ' . $class); 219 219 } 220 220 221 221 $starArchive->add($starFile, $id); 222 222 } … … 230 230 } 231 231 } 232 232 233 233 if (null != $this->preface) { 234 234 $starArchive->setPreface($this->preface); 235 235 } 236 236 237 237 $starArchive->addMetaData('title', $this->title); 238 238 $starArchive->addMetaData('package', $this->package);
