Changeset 19675 for gli/trunk


Ignore:
Timestamp:
2009-05-29T15:43:07+12:00 (15 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.

File:
1 edited

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        }
Note: See TracChangeset for help on using the changeset viewer.