Development

Changeset 12537

You must first sign up to be able to contribute.

Changeset 12537

Show
Ignore:
Timestamp:
11/01/08 15:43:27 (6 years ago)
Author:
fabien
Message:

[1.2] fixed autoloading in tasks (closes #4675, #4346)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPropelPlugin/trunk/lib/task/sfPropelBuildAllLoadTask.class.php

    r12317 r12537  
    2727  { 
    2828    $this->addOptions(array( 
    29       new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null), 
     29      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true), 
    3030      new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'), 
    3131      new sfCommandOption('connection', null, sfCommandOption::PARAMETER_REQUIRED, 'The connection name', 'propel'), 
  • plugins/sfPropelPlugin/trunk/lib/task/sfPropelBuildAllTask.class.php

    r12317 r12537  
    2727  { 
    2828    $this->addOptions(array( 
    29       new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null), 
     29      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true), 
    3030      new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'), 
    3131      new sfCommandOption('connection', null, sfCommandOption::PARAMETER_REQUIRED, 'The connection name', 'propel'), 
  • plugins/sfPropelPlugin/trunk/lib/task/sfPropelBuildFiltersTask.class.php

    r11675 r12537  
    3030      new sfCommandOption('model-dir-name', null, sfCommandOption::PARAMETER_REQUIRED, 'The model dir name', 'model'), 
    3131      new sfCommandOption('filter-dir-name', null, sfCommandOption::PARAMETER_REQUIRED, 'The filter form dir name', 'filter'), 
     32      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true), 
    3233    )); 
    3334 
  • plugins/sfPropelPlugin/trunk/lib/task/sfPropelBuildFormsTask.class.php

    r10527 r12537  
    3030      new sfCommandOption('model-dir-name', null, sfCommandOption::PARAMETER_REQUIRED, 'The model dir name', 'model'), 
    3131      new sfCommandOption('form-dir-name', null, sfCommandOption::PARAMETER_REQUIRED, 'The form dir name', 'form'), 
     32      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true), 
    3233    )); 
    3334 
  • plugins/sfPropelPlugin/trunk/lib/task/sfPropelDataDumpTask.class.php

    r11302 r12537  
    3131 
    3232    $this->addOptions(array( 
    33       new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null), 
     33      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true), 
    3434      new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environement', 'cli'), 
    3535      new sfCommandOption('connection', null, sfCommandOption::PARAMETER_REQUIRED, 'The connection name', 'propel'), 
  • plugins/sfPropelPlugin/trunk/lib/task/sfPropelDataLoadTask.class.php

    r12151 r12537  
    2727  { 
    2828    $this->addOptions(array( 
    29       new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null), 
     29      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true), 
    3030      new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'cli'), 
    3131      new sfCommandOption('append', null, sfCommandOption::PARAMETER_NONE, 'Don\'t delete current data in the database'), 
  • plugins/sfPropelPlugin/trunk/lib/task/sfPropelInsertSqlTask.class.php

    r12129 r12537  
    2727  { 
    2828    $this->addOptions(array( 
    29       new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', null), 
     29      new sfCommandOption('application', null, sfCommandOption::PARAMETER_OPTIONAL, 'The application name', true), 
    3030      new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'cli'), 
    3131      new sfCommandOption('connection', null, sfCommandOption::PARAMETER_REQUIRED, 'The connection name', null),