Changeset 8686
- Timestamp:
- 2004-11-29T09:50:53+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Configuration.java
r8652 r8686 144 144 this.site_name = site_name; 145 145 146 // Try to load the configuration file , first looking inthe user specific location146 // Try to load the configuration file from the user specific location 147 147 String config_xml_file_name = CONFIG_XML; 148 148 if (gsdl3_path != null) { … … 152 152 if (config_xml_file != null && config_xml_file.exists()) { 153 153 general_config = Utility.parse(config_xml_file.getAbsolutePath(), false); 154 }155 156 // We then try within the gli directory itself157 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 }162 154 } 163 155
Note:
See TracChangeset
for help on using the changeset viewer.