Changeset 20687


Ignore:
Timestamp:
2009-09-23T14:40:00+12:00 (12 years ago)
Author:
ak19
Message:

Fixed a bug that Kathy found: when gsdlsite.cfg is missing and autostart is false, it didn't generate the gsdlsite.cfg from the template .in file before.

File:
1 edited

Legend:

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

    r20632 r20687  
    8080        server_control_.setState(java.awt.Frame.ICONIFIED); // minimise the server interface window
    8181    } else {
     82        if (configure_required_){
     83        server_control_.displayMessage(dictionary.get("ServerControl.Configuring"));
     84        int state = runTarget(CONFIGURE_CMD);
     85       
     86        if (state != RunTarget.SUCCESS){
     87            recordError(CONFIGURE_CMD);
     88        }
     89        }
    8290        reload(); // browser URL or other important properties may not yet be initialised
     91        configure_required_ = false;
     92
    8393        server_state_ = START_SERVER;
    8494        server_control_.updateControl();
Note: See TracChangeset for help on using the changeset viewer.