Ignore:
Timestamp:
2004-11-18T14:31:40+13:00 (19 years ago)
Author:
mdewsnip
Message:

Made Gatherer.configServer static.

File:
1 edited

Legend:

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

    r8594 r8597  
    11371137        // If we have a local library running (that we know about) then we ask it to add our newly create collection
    11381138        if (Configuration.exec_file != null) {
    1139             Gatherer.self.configServer(GSDLSiteConfig.ADD_COMMAND + collection.getName());
     1139            Gatherer.configServer(GSDLSiteConfig.ADD_COMMAND + collection.getName());
    11401140            // This is very important -- it ensures that the above command has finished
    1141             Gatherer.self.configServer("");
     1141            Gatherer.configServer("");
    11421142        }
    11431143        else if (Gatherer.GS3) {
    11441144            convertToGS3Collection();
    1145             Gatherer.self.configGS3Server(Configuration.site_name, ServletConfiguration.ADD_COMMAND + collection.getName());
     1145            Gatherer.configGS3Server(Configuration.site_name, ServletConfiguration.ADD_COMMAND + collection.getName());
    11461146        } 
    11471147
     
    13401340        // Ensure that the local library has released this collection so we can delete the index directory
    13411341        if (!Gatherer.GS3 && Configuration.exec_file != null) {
    1342         Gatherer.self.configServer(GSDLSiteConfig.RELEASE_COMMAND + collection.getName());
     1342        Gatherer.configServer(GSDLSiteConfig.RELEASE_COMMAND + collection.getName());
    13431343
    13441344        // This is very important -- it ensures that the above command has finished
    13451345        // This prevents the nasty "could not remove index directory" race condition!
    1346         Gatherer.self.configServer("");
     1346        Gatherer.configServer("");
    13471347        }
    13481348
Note: See TracChangeset for help on using the changeset viewer.