Changeset 8686


Ignore:
Timestamp:
2004-11-29T09:50:53+13:00 (19 years ago)
Author:
mdewsnip
Message:

No longer tries to load a config.xml file from the main GLI directory (it is never created here any more).

File:
1 edited

Legend:

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

    r8652 r8686  
    144144    this.site_name = site_name;
    145145
    146     // Try to load the configuration file, first looking in the user specific location
     146    // Try to load the configuration file from the user specific location
    147147    String config_xml_file_name = CONFIG_XML;
    148148    if (gsdl3_path != null) {
     
    152152    if (config_xml_file != null && config_xml_file.exists()) {
    153153        general_config = Utility.parse(config_xml_file.getAbsolutePath(), false);
    154     }
    155 
    156     // We then try within the gli directory itself
    157     if (general_config == null) {
    158         config_xml_file = new File(config_xml_file_name);
    159         if (config_xml_file.exists()) {
    160         general_config = Utility.parse(config_xml_file_name, true);
    161         }
    162154    }
    163155
Note: See TracChangeset for help on using the changeset viewer.