Changeset 20918


Ignore:
Timestamp:
11/09/09 16:32:12 (12 years ago)
Author:
ak19
Message:

Changes to previous commits (to handle spaces in filepaths on Windows) so that things still work on Linux

Location:
greenstone3/trunk/src/java/org/greenstone/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/server/BaseServerControl.java

    r20908 r20918  
    232232                   break;     
    233233        }
    234         case BaseServer.SERVER_STARTED: case BaseServer.BROWSER_LAUNCH_FAILED:
     234        case BaseServer.SERVER_STARTED:
    235235        {
    236236         Thread runInThread = new Thread(new Runnable(){
     
    252252            runInThread.start();
    253253            break;
    254         }   
    255         case BaseServer.BROWSER_LAUNCHED:
     254        }
     255        case BaseServer.BROWSER_LAUNCHED: case BaseServer.BROWSER_LAUNCH_FAILED:
    256256        {
    257257            Thread runInThread = new Thread(new Runnable(){
  • greenstone3/trunk/src/java/org/greenstone/server/BrowserLauncher.java

    r20908 r20918  
    122122        logger.info("ExitCode:" + exitCode);
    123123        if (exitCode != 0) { // if trying to launch the browser above failed
    124         state = LAUNCHFAILED;
    125         logger.error("Failed to launch web browser.");     
     124           state = LAUNCHFAILED;
     125           logger.error("Failed to launch web browser when running command:");
     126           logger.error("\t" + this.command);       
    126127        }
    127128    }
Note: See TracChangeset for help on using the changeset viewer.