Ignore:
Timestamp:
2007-01-12T14:39:03+13:00 (17 years ago)
Author:
mdewsnip
Message:

Tidied up all the CollectionManager functions for getting loaded collection paths, and made them static, as part of making CollectionManager fully static.

File:
1 edited

Legend:

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

    r13458 r13591  
    5353import org.greenstone.gatherer.cdm.CollectionMetaManager;
    5454import org.greenstone.gatherer.cdm.CollectionMeta;
     55import org.greenstone.gatherer.collection.CollectionManager;
    5556import org.greenstone.gatherer.metadata.DocXMLFileManager;
    5657import org.greenstone.gatherer.remote.RemoteGreenstoneServer;
     
    392393        fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Parsing_Metadata_Start"), status, null);
    393394        DocXMLFileManager.clearDocXMLFiles();
    394         DocXMLFileManager.loadDocXMLFiles(new File(Gatherer.c_man.getCollectionArchivesDirectoryPath()));
     395        DocXMLFileManager.loadDocXMLFiles(new File(CollectionManager.getLoadedCollectionArchivesDirectoryPath()));
    395396        fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Parsing_Metadata_Complete"), status, null);
    396397        }
     
    404405
    405406            // Only need to download build.cfg file
    406             File build_cfg_file = new File(Gatherer.c_man.getCollectionBuildingDirectoryPath(), "build.cfg");
     407            File build_cfg_file = new File(CollectionManager.getLoadedCollectionBuildingDirectoryPath(), "build.cfg");
    407408            RemoteGreenstoneServer.downloadCollectionFile(col_name, build_cfg_file);
    408409           
Note: See TracChangeset for help on using the changeset viewer.