Ignore:
Timestamp:
2004-05-05T11:23:40+12:00 (20 years ago)
Author:
kjdon
Message:

renamed Utility.CONFIG_DIR to Utility.CONFIG_FILE cos it refers to the file, not the directory. Also getConfigDir renamed to getConfigFile

File:
1 edited

Legend:

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

    r7224 r7275  
    356356        // Now we update our collect.cfg
    357357        Gatherer.println("Copy and update collect.cfg from base collection.");
    358         updateCollectionCFG(new File(base_collection_directory, Utility.CONFIG_DIR), new File(a_dir, Utility.CONFIG_DIR), description, email, title);
     358        updateCollectionCFG(new File(base_collection_directory, Utility.CONFIG_FILE), new File(a_dir, Utility.CONFIG_FILE), description, email, title);
    359359        }
    360360
     
    512512     */
    513513    public String getCollectionConfig() {
    514     return Utility.getConfigDir(Utility.getCollectionDir(Gatherer.config.gsdl_path, collection.getName()));
     514    return Utility.getConfigFile(Utility.getCollectionDir(Gatherer.config.gsdl_path, collection.getName()));
    515515    }
    516516
     
    840840        }
    841841
    842         collection.cdm = new CollectionDesignManager(new File(collection_file.getParent(), Utility.CONFIG_DIR));
     842        collection.cdm = new CollectionDesignManager(new File(collection_file.getParent(), Utility.CONFIG_FILE));
    843843        if (non_gatherer_collection) {
    844844        // We first recurse the Import folder tree, reading in any metadata.xml files, and then altering the non-namespaced element names to be valid GLI names
Note: See TracChangeset for help on using the changeset viewer.