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/gui/OpenCollectionDialog.java

    r6051 r7275  
    169169        else {
    170170            // Build a wrapper around the collection configuration file.
    171             File config_file = new File(file.getParentFile(), Utility.CONFIG_DIR);
     171            File config_file = new File(file.getParentFile(), Utility.CONFIG_FILE);
    172172            if(config_file.exists()) {
    173173            BasicCollectionConfiguration collect_cfg = new BasicCollectionConfiguration(config_file);
     
    212212        File[] files = default_system_view.getFiles(dir, useFileHiding);
    213213        // Determine if the current dir actually contains a valid greenstone collection. To do this we check for the presence of the file <dir>/etc/collect.cfg and a directory named import.
    214         File collect_cfg_file = new File(dir, Utility.CONFIG_DIR);
     214        File collect_cfg_file = new File(dir, Utility.CONFIG_FILE);
    215215        File import_dir_file = new File(dir, Utility.IMPORT_DIR);
    216216        if(collect_cfg_file.exists() && import_dir_file.exists()) {
Note: See TracChangeset for help on using the changeset viewer.