Changeset 1102

Show
Ignore:
Timestamp:
09/07/08 13:56:36 (3 months ago)
Author:
arnoschn
Message:

Clarifying some install instructions in the ci-test installation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/arnoschn/cache/lib/utils/scripts/ci-test.php

    r1101 r1102  
    209209         
    210210        $parts = parse_url($url); 
     211        if (!isset($parts['host'])) { 
     212            $this->error('No host found in: '.$url); 
     213            return false; 
     214        } 
    211215        $rewritebase = isset($parts['path'])?$parts['path']:'/'; 
    212216        $htaccessTemplateFile = AK_BASE_DIR.DS.'script'.DS.'extras'.DS.'TPL-htaccess'; 
     
    345349    function _promptForTestingUrl() 
    346350    { 
    347         while ((($testingUrl = $this->promptUserVar('Please provide the testing url of the webserver (point to test/fixtures/public)')) && !$this->_checkWebServer($testingUrl))) { 
     351        while ((($testingUrl = $this->promptUserVar('Please provide the testing url of the webserver (example: http://localhost/test/fixtures/public)')) && !$this->_checkWebServer($testingUrl))) { 
    348352            $this->error('Could not verify the testing url. Please make sure a webserver is running and handling that request.'); 
    349353        } 
     
    357361    { 
    358362        if ($testDir == null) { 
    359             while ((($testDir = $this->promptUserVar('Where shall the akelos testinstallation be installed?')) && ((file_exists($testDir) && !is_writable($testDir)) || (!is_writable(dirname(dirname($testDir))))))) { 
     363            while ((($testDir = $this->promptUserVar('Please insert the path for installing the CI tests for Akelos')) && ((file_exists($testDir) && !is_writable($testDir)) || (!is_writable(dirname(dirname($testDir))))))) { 
    360364                $this->error('Directory '.$testDir.' is not writable'); 
    361365            }