Changeset 5253 for trunk/gli/src/org/greenstone/gatherer/Gatherer.java
- Timestamp:
- 2003-08-22T10:05:19+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r5164 r5253 209 209 210 210 if(config.exec_file == null && config.exec_address == null) { 211 if(config.exec_file == null) { 212 Gatherer.println("config.exec_file is null"); 213 } 214 if(config.exec_address == null) { 215 Gatherer.println("config.exec_address is null"); 216 } 211 217 missingEXEC(dictionary); 212 218 } … … 777 783 // A quick test involves opening a connection to get the home page for this collection. If this fails then we try changing the url to be localhost. 778 784 try { 779 Gatherer.println("Try connecting to server on config url .");785 Gatherer.println("Try connecting to server on config url: '" + config.exec_address + "'"); 780 786 URLConnection connection = config.exec_address.openConnection(); 781 787 connection.getContent(); … … 783 789 catch(IOException bad_url_connection) { 784 790 try { 785 Gatherer.println("Try connecting to server on local host .");791 Gatherer.println("Try connecting to server on local host: '" + gsdlsite_cfg.getLocalHostURL() + "'"); 786 792 config.exec_address = new URL(gsdlsite_cfg.getLocalHostURL ()); 787 793 URLConnection connection = config.exec_address.openConnection();
Note:
See TracChangeset
for help on using the changeset viewer.