Changeset 19675

Show
Ignore:
Timestamp:
29.05.2009 15:43:07 (10 years ago)
Author:
ak19
Message:

URLPending can't be called unless we are using LLS. So first test that the LLS is running before calling it.

Files:
1 modified

Legend:

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

    r19544 r19675  
    369369        // It is not necessary if an independent GSI was launched and the user hasn't pressed Enter Library yet 
    370370        DebugStream.println("Configuration.library_url = " + Configuration.library_url); 
    371         if (Configuration.library_url == null && !LocalLibraryServer.isURLPending()) { 
     371        if (Configuration.library_url == null && (LocalLibraryServer.isRunning() && !LocalLibraryServer.isURLPending())) { 
    372372        missingEXEC();  
    373373        }