Changeset 4348 for trunk/gli/src/org/greenstone/gatherer/Configuration.java
- Timestamp:
- 2003-05-27T15:15:53+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Configuration.java
r4302 r4348 108 108 if(exec_path != null && exec_path.length() > 0) { 109 109 try { 110 // If its missing the protocol add it now. 111 if(exec_path.indexOf("://") != -1) { 112 exec_address = new URL(exec_path); 113 } 114 else { 115 exec_address = new URL("http://" + exec_path); 116 } 110 exec_address = new URL(exec_path); 117 111 } 118 112 catch (MalformedURLException error) { 119 System.err.println("Not an address.");113 ///ystem.err.println("Not an address."); 120 114 } 121 115 } … … 129 123 exec_file = local_file; 130 124 } 125 else { 126 ///ystem.err.println("No local library at given file path."); 127 } 131 128 } 132 129 // All sorts of errors might be thrown by a bogus file path. … … 141 138 } 142 139 else { 143 System.err.println("No local library.");140 ///ystem.err.println("No local library."); 144 141 } 145 142 } 146 143 // If we get to here with no exec_address nor an exec_file its just plain not going to work. 147 144 } 145 else { 146 ///ystem.err.println("exec_address != null -> " + exec_address); 147 } 148 ///ystem.err.println("Perl path."); 148 149 this.perl_path = perl_path; 149 150 // Ensure the perl path includes exe under windoze … … 169 170 // Re-establish the color settings. 170 171 updateUI(); 172 173 System.err.println("EXEC_FILE = " + exec_file); 174 System.err.println("EXEC_ADDRESS = " + exec_address); 171 175 } 172 176
Note:
See TracChangeset
for help on using the changeset viewer.