示例#1
0
 /**
  * Create the EasyCreator manifest.
  *
  * @throws EcrExceptionBuilder
  * @return boolean true on success
  */
 private function createEasyCreatorManifest()
 {
     if ($this->project->type == 'plugin' || $this->project->type == 'module' || $this->project->type == 'library') {
         $this->project->name = ucfirst($this->project->scope) . ' - ' . $this->project->name;
     }
     $xmlContents = $this->project->update($this->testMode);
     if (false == $xmlContents) {
         throw new EcrExceptionBuilder('Unable to create EasyCreator manifest');
     }
     $this->logger->log('EasyCreator manifest created');
     $this->logger->logFileWrite('', 'ECR' . DS . 'EasyCreatorManifest.xml', $xmlContents);
     return $this;
 }