Development

Changeset 8809

You must first sign up to be able to contribute.

Changeset 8809

Show
Ignore:
Timestamp:
05/06/08 16:27:30 (2 months ago)
Author:
fabien
Message:

added an error message in project:freeze if the given symfony data dir does not exist (closes #3419)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/task/project/sfProjectFreezeTask.class.php

    r8148 r8809  
    7373    $symfonyDataDir = $arguments['symfony_data_dir']; 
    7474 
     75    if (!is_readable($symfonyDataDir)) 
     76    { 
     77      throw new sfCommandException(sprintf('The symfony data dir does not seem to be located at "%s".', $symfonyDataDir)); 
     78    } 
     79 
    7580    $this->logSection('freeze', sprintf('freezing lib found in "%s', $symfonyLibDir)); 
    7681    $this->logSection('freeze', sprintf('freezing data found in "%s"', $symfonyDataDir));