Ignore:
Timestamp:
2004-05-13T17:08:42+12:00 (20 years ago)
Author:
kjdon
Message:

the intial stage of making gli work with gs3 - still uses gs2 building, but uses colls in gs3 setup

File:
1 edited

Legend:

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

    r7275 r7326  
    191191        // We start by building a model of the installed collections.
    192192        collection_checklist_model = new ArrayList();
    193         File gsdl_collection_directory = new File(Utility.getCollectDir(Gatherer.config.gsdl_path));
     193        File gsdl_collection_directory;
     194        if (Gatherer.GS3) {
     195        gsdl_collection_directory = new File(Utility.getCollectDir(Gatherer.config.gsdl3_path, Gatherer.config.site_name));
     196        } else {
     197        gsdl_collection_directory = new File(Utility.getCollectDir(Gatherer.config.gsdl_path));
     198        }
    194199        current_coll_name = Gatherer.c_man.getCollection().getName();
    195200        File[] possible_collections = gsdl_collection_directory.listFiles();
Note: See TracChangeset for help on using the changeset viewer.