- Timestamp:
- 2003-06-11T13:41:15+12:00 (21 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Configuration.java
r4493 r4556 105 105 this.exec_path = exec_path; 106 106 // The exec_path may contain an url address, in which case we blindly use that and leave it up to the user to worry about settings and resetting. 107 System.err.println("EXEC_PATH = " + exec_path);107 Gatherer.println("EXEC_PATH = " + exec_path); 108 108 if(exec_path != null && exec_path.length() > 0) { 109 109 try { … … 129 129 // All sorts of errors might be thrown by a bogus file path. 130 130 catch (Exception error) { 131 System.err.println("Not a valid file.");131 Gatherer.println("Not a valid file."); 132 132 } 133 133 // We can generate the path to where the local library should be and use that if it is there. … … 171 171 updateUI(); 172 172 173 System.err.println("EXEC_FILE = " + exec_file);174 System.err.println("EXEC_ADDRESS = " + exec_address);173 Gatherer.println("EXEC_FILE = " + exec_file); 174 Gatherer.println("EXEC_ADDRESS = " + exec_address); 175 175 } 176 176 -
trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r4484 r4556 688 688 private void startServerEXE() { 689 689 if(config.exec_file != null && config.exec_address == null && Utility.isWindows()) { 690 690 // First of all we create a GSDLSiteCFG object and check if a URL is already present, in which case the server is already running. 691 691 gsdlsite_cfg = new GSDLSiteConfig(config.exec_file); 692 692 String url = gsdlsite_cfg.getURL(); 693 693 // If its already running then set exec address. 694 694 if(url != null) { 695 695 try { … … 699 699 } 700 700 } 701 701 // Otherwise its time to run the server in a spawned process. 702 702 if(config.exec_address == null && config.exec_file.exists()) { 703 703 // Configure for immediate entry. Note that this only works if the gsdlsite.cfg file exists. … … 722 722 } 723 723 } 724 725 } 726 System.err.println("Having started server.exe, exec_address is: " + config.exec_address);724 // Can't do a damb thing. 725 } 726 Gatherer.println("Having started server.exe, exec_address is: " + config.exec_address); 727 727 } 728 728
Note:
See TracChangeset
for help on using the changeset viewer.