Ignore:
Timestamp:
2007-01-12T17:20:20+13:00 (17 years ago)
Author:
mdewsnip
Message:

Now always downloads the collection configurations when the GLI is starting up, as nothing much works without them. This simplifies the code and means that the openCollectionFromLastTime() function works.

File:
1 edited

Legend:

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

    r13599 r13600  
    462462    }
    463463
     464    // If using a remote Greenstone we need to download the collection configurations now
     465    if (Gatherer.isGsdlRemote) {
     466        if (RemoteGreenstoneServer.downloadCollectionConfigurations().equals("")) {
     467        // !! Something went wrong downloading the collection configurations
     468        System.err.println("Error: Could not download collection configurations.");
     469        System.exit(0);
     470        }
     471    }
     472
    464473    // If there was a collection left open last time, reopen it
    465474    c_man.openCollectionFromLastTime();
Note: See TracChangeset for help on using the changeset viewer.