Ignore:
Timestamp:
2010-08-18T21:26:45+12:00 (14 years ago)
Author:
ak19
Message:

More changes for making the collectdir movable (ticket 152): (1) Changes to GLI code so that llssite and glisite are updated to contain the COLLECTHOME property to tell server.exe where the new collect dir is. (2) server.exe must be told that it needs to restart (so it can read the new collecthome).

File:
1 edited

Legend:

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

    r22605 r22678  
    424424    ProfileXMLFileManager.clearProfileXMLFile();
    425425
     426    // 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());
     429    }
     430   
    426431    collection.destroy();
    427432    collection = null;
Note: See TracChangeset for help on using the changeset viewer.