- Timestamp:
- 2022-03-11T10:03:39+13:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/Configuration.java
r36092 r36102 65 65 /** The string identifying an argument's name attribute. */ 66 66 static final private String ARGUMENT_NAME = "name"; 67 /** The name of the general Gatherer configuration file. */ 67 /** The name of the general Gatherer configuration file. 68 Gatherer will change this to configRemote if isGsdlRemote */ 68 69 static public String CONFIG_XML = "config.xml"; 69 70 static public String FEDORA_CONFIG_PREFIX = "fedora-"; … … 81 82 /** The name of the other arguments element. */ 82 83 static final private String OTHER = "Other"; 83 /** The name of the general Gatherer configuration template. */ 84 /** The name of the general Gatherer configuration template. 85 Gatherer will change this to xml/configRemote.xml if isGSDLRemote */ 84 86 static public String TEMPLATE_CONFIG_XML = "xml/config.xml"; 85 87 /** The first of three patterns used during tokenization, this pattern handles a comma separated list. */ … … 233 235 if (site_name == null || site_name.equals("")) { 234 236 site_name = getString("general.site_name", true); 235 servlet_path = getString("general.servlet_path", true); 236 if (site_name.equals("")) { 237 site_name = "localsite"; // can we assume these?? 238 servlet_path = "/library"; 239 setString("general.site_name", true, site_name); 240 setString("general.servlet_path", true, servlet_path); 241 } 242 237 servlet_path = getString("general.servlet_path", true); 243 238 } else { 244 239 // we set the current one in the config
Note:
See TracChangeset
for help on using the changeset viewer.