Development

Changeset 7182

You must first sign up to be able to contribute.

Changeset 7182

Show
Ignore:
Timestamp:
01/25/08 13:32:16 (10 months ago)
Author:
fabien
Message:

converted exit() code from Phing to an exception

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/plugins/sfPropelPlugin/lib/task/sfPropelBaseTask.class.php

    r6807 r7182  
    198198      $args[] = 'phing.listener.AnsiColorLogger'; 
    199199    } 
    200      
     200 
    201201    $args[] = $taskName; 
    202202 
     
    224224    return 'sfPhing'; 
    225225  } 
     226 
     227  public static function shutdown($exitcode = 0) 
     228  { 
     229    self::getTimer()->stop(); 
     230 
     231    throw new Exception(sprintf('Problem executing Phing task (%s).', $exitcode)); 
     232  } 
    226233}