Ignore:
Timestamp:
2010-08-24T19:49:00+12:00 (14 years ago)
Author:
ak19
Message:

More changes for ticket 152: making the collectdir moveable. When using server.exe, if GLI was last shutdown when another collectdir was active, this needs to be read in from the user config.xml by GLI, and server.exe needs to use it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r22678 r22771  
    425425
    426426    // If we're using the Local Library we must release the collection before writing to the collect.cfg file
    427     if(Gatherer.isLocalLibrary) {
    428         LocalLibraryServer.releaseCollection(collection.getName());
     427    if(Gatherer.isLocalLibrary) {       
     428        LocalLibraryServer.releaseCollection(getLoadedCollectionName()); // URL style slash //collection.getName());
    429429    }
    430430   
     
    18501850        // Ensure that the local library has released this collection so we can delete the index directory
    18511851        if (LocalLibraryServer.isRunning() == true) {
    1852         LocalLibraryServer.releaseCollection(collection.getName());
     1852        LocalLibraryServer.releaseCollection(getLoadedCollectionName()); // URL style slash //collection.getName());
    18531853        }
    18541854        // deactivate it in tomcat so that windows will release the index files
Note: See TracChangeset for help on using the changeset viewer.