Ignore:
Timestamp:
2009-06-08T15:16:34+12:00 (15 years ago)
Author:
ak19
Message:

Created new variable in Gatherer.java called isLocalLibrary that defaults to false and gets initialised upon calling LocalLibraryServer.start(). This variable is now also used in PreviewButton.java so that the Local Library Server is still working with a GSI interface launched either via GLI or independently, and still works with an external apache-web server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/PreviewButton.java

    r19752 r19758  
    8888    }
    8989
    90     if(!Gatherer.isGsdlRemote) {
     90    if(Gatherer.isLocalLibrary) {
    9191        // check that the local library server is still running  - doesn't do anything if it's not supposed to be running
    9292        // !! Don't like this here
    9393        LocalLibraryServer.checkServerRunning();
    94         if(LocalLibraryServer.isRunning() && LocalLibraryServer.isURLPending()) {
     94        if(LocalLibraryServer.isURLPending()) {
    9595        // Remind the user to press Enter Library, and return from this method
    9696        JOptionPane.showMessageDialog(Gatherer.g_man,
Note: See TracChangeset for help on using the changeset viewer.