public function execute()
    {
        $phingExecutable = $this->phpci->findBinary('phing');

        $cmd[] = $phingExecutable . ' -f ' . $this->getBuildFilePath();

        if ($this->getPropertyFile()) {
            $cmd[] = '-propertyfile ' . $this->getPropertyFile();
        }

        $cmd[] = $this->propertiesToString();

        $cmd[] = '-logger phing.listener.DefaultLogger';
        $cmd[] = $this->targetsToString();
        $cmd[] = '2>&1';

        return $this->phpci->executeCommand(implode(' ', $cmd), $this->directory, $this->targets);
    }
public function execute()
    {
        $phingExecutable = $this->phpci->findBinary('phing');

        $cmd[] = $phingExecutable . ' -f ' . $this->getBuildFilePath();

        if ($this->getPropertyFile()) {
            $cmd[] = '-propertyfile ' . $this->getPropertyFile();
        }

        $cmd[] = $this->propertiesToString();

        $cmd[] = '-logger phing.listener.DefaultLogger';
        $cmd[] = $this->targetsToString();
        $cmd[] = '2>&1';

        return $this->phpci->executeCommand(implode(' ', $cmd), $this->directory, $this->targets);
    }
public function execute ( ) { $ phingExecutable = $ this -> phpci -> findBinary ( 'phing' ) ; $ cmd [ ] = $ phingExecutable . ' -f ' . $ this -> getBuildFilePath ( ) ; if ( $ this -> getPropertyFile ( ) ) { $ cmd [ ] = '-propertyfile ' . $ this -> getPropertyFile ( ) ; } $ cmd [ ] = $ this -> propertiesToString ( ) ; $ cmd [ ] = '-logger phing.listener.DefaultLogger' ; $ cmd [ ] = $ this -> targetsToString ( ) ; $ cmd [ ] = '2>&1' ; return $ this -> phpci -> executeCommand ( implode ( ' ' , $ cmd ) , $ this -> directory , $ this -> targets ) ; }
Executes Phing and runs a specified targets
Executes Phing and runs a specified targets