Changeset 1875

Show
Ignore:
Timestamp:
04/17/06 13:46:52 (1 year ago)
Author:
demian
Message:

correcting Task foldername to be singular

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/0.6-bugfix/etc/envRebuild.php

    r1873 r1875  
    4848//  setup seagull environment 
    4949require_once dirname(__FILE__)  . '/../lib/SGL/FrontController.php'; 
    50 require_once dirname(__FILE__)  . '/../lib/SGL/Tasks/Install.php'; 
     50require_once dirname(__FILE__)  . '/../lib/SGL/Task/Install.php'; 
    5151 
    5252class RebuildController extends SGL_FrontController 
  • branches/0.6-bugfix/etc/generatePearPackageXml.php

    r1309 r1875  
    278278    #$pkg->addReplacement('serendipity_config.inc.php', 'pear-config', '@php_dir@', 'php_dir'); 
    279279 
    280     $pkg->addReplacement('lib/SGL/Tasks/Init.php', 'pear-config', '@PHP-DIR@',  'php_dir'); 
    281     $pkg->addReplacement('lib/SGL/Tasks/Init.php', 'pear-config', '@DATA-DIR@', 'data_dir'); 
    282     $pkg->addReplacement('lib/SGL/Tasks/Init.php', 'pear-config', '@WEB-DIR@',  'web_dir'); 
     280    $pkg->addReplacement('lib/SGL/Task/Init.php', 'pear-config', '@PHP-DIR@',  'php_dir'); 
     281    $pkg->addReplacement('lib/SGL/Task/Init.php', 'pear-config', '@DATA-DIR@', 'data_dir'); 
     282    $pkg->addReplacement('lib/SGL/Task/Init.php', 'pear-config', '@WEB-DIR@',  'web_dir'); 
    283283    $pkg->addReplacement('lib/SGL/Install/WizardCreateAdminUser.php', 'pear-config', '@WEB-DIR@',  'web_dir'); 
    284284    $pkg->addReplacement('www/index.php', 'pear-config', '@DATA-DIR@', 'data_dir'); 
  • branches/0.6-bugfix/lib/SGL/FrontController.php

    r1874 r1875  
    4545require_once dirname(__FILE__)  . '/../SGL.php'; 
    4646require_once dirname(__FILE__)  . '/Config.php'; 
    47 require_once dirname(__FILE__)  . '/Tasks/Init.php'; 
    48 require_once dirname(__FILE__)  . '/Tasks/Process.php'; 
     47require_once dirname(__FILE__)  . '/Task/Init.php'; 
     48require_once dirname(__FILE__)  . '/Task/Process.php'; 
    4949 
    5050/** 
  • branches/0.6-bugfix/lib/SGL/Tasks/Init.php

    r1873 r1875  
    233233        require_once dirname(__FILE__)  . '/../Output.php'; 
    234234        require_once dirname(__FILE__)  . '/../String.php'; 
    235         require_once dirname(__FILE__)  . '/../Tasks/Process.php'; 
     235        require_once dirname(__FILE__)  . '/../Task/Process.php'; 
    236236        require_once dirname(__FILE__)  . '/../Session.php'; 
    237237        require_once dirname(__FILE__)  . '/../Util.php'; 
  • branches/0.6-bugfix/lib/SGL/tests/TasksTest.ndb.php

    r1873 r1875  
    11<?php 
    2 require_once dirname(__FILE__) . '/../Tasks/DetectEnv.php'; 
     2require_once dirname(__FILE__) . '/../Task/DetectEnv.php'; 
    33 
    44/** 
  • branches/0.6-bugfix/modules/default/classes/ConfigMgr.php

    r1871 r1875  
    136136            if (empty($input->conf['path']['webRoot'])) { 
    137137                $aErrors['webRoot'] = 'Please enter a valid path'; 
    138                 // unset() because we use isset() in lib/SGL/Tasks/Init.php to check this variable 
     138                // unset() because we use isset() in lib/SGL/Task/Init.php to check this variable 
    139139                unset($input->conf['path']['webRoot']); 
    140140            } 
  • branches/0.6-bugfix/modules/default/classes/MaintenanceMgr.php

    r1873 r1875  
    101101    function _cmd_dbgen(&$input, &$output) 
    102102    { 
    103         require_once SGL_CORE_DIR . '/Tasks/Install.php'; 
     103        require_once SGL_CORE_DIR . '/Task/Install.php'; 
    104104        $res = SGL_Task_CreateDataObjectEntities::run(); 
    105105        SGL::raiseMsg('Data Objects rebuilt successfully', true, SGL_MESSAGE_INFO); 
     
    138138        SGL::logMessage(null, PEAR_LOG_DEBUG); 
    139139 
    140         require_once SGL_CORE_DIR . '/Tasks/Install.php'; 
     140        require_once SGL_CORE_DIR . '/Task/Install.php'; 
    141141        $res = SGL_Task_SyncSequences::run(); 
    142142        if (PEAR::isError($res)) { 
     
    151151        SGL::logMessage(null, PEAR_LOG_DEBUG); 
    152152 
    153         require_once SGL_CORE_DIR . '/Tasks/Install.php'; 
     153        require_once SGL_CORE_DIR . '/Task/Install.php'; 
    154154 
    155155        $data = array( 
  • branches/0.6-bugfix/modules/default/classes/ModuleGenerationMgr.php

    r1873 r1875  
    118118        // rebuild dataobject so that a DO class exists for new table 
    119119        if (isset($input->createModule->createCRUD)) { 
    120             require_once SGL_CORE_DIR . '/Tasks/Install.php'; 
     120            require_once SGL_CORE_DIR . '/Task/Install.php'; 
    121121            $res = SGL_Task_CreateDataObjectEntities::run(); 
    122122 
  • branches/0.6-bugfix/tests/classes/TestEnv.php

    r1873 r1875  
    199199            //  if we're testing a sgl install, update sequences after loading data 
    200200            if (isset($GLOBALS['_SGL'])) { 
    201                 require_once SGL_CORE_DIR . '/Tasks/Install.php'; 
     201                require_once SGL_CORE_DIR . '/Task/Install.php'; 
    202202                SGL_Task_SyncSequences::run(); 
    203203            } 
  • branches/0.6-bugfix/www/setup.php

    r1873 r1875  
    152152 
    153153//  load tasks 
    154 require_once SGL_PATH . '/lib/SGL/Tasks/DetectEnv.php'; 
    155 require_once SGL_PATH . '/lib/SGL/Tasks/Install.php'; 
     154require_once SGL_PATH . '/lib/SGL/Task/DetectEnv.php'; 
     155require_once SGL_PATH . '/lib/SGL/Task/Install.php'; 
    156156 
    157157class ActionProcess extends HTML_QuickForm_Action