Changeset 9865
- Timestamp:
- 2005-05-13T10:49:57+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r9864 r9865 184 184 String java_vendor = System.getProperty("java.vendor"); 185 185 if (!java_vendor.equals("Sun Microsystems Inc.")) { 186 // is this the definitive string??187 186 System.err.println(Dictionary.get("General.NotSunJava", java_vendor)); 188 187 } … … 228 227 else { 229 228 // Perl path is a little different as it is perfectly ok to 230 // start the G athererwithout providing a perl path229 // start the GLI without providing a perl path 231 230 boolean found_perl = false; 232 231 if (Configuration.perl_path != null) { … … 303 302 // Create Collection Manager 304 303 c_man = new CollectionManager(); 305 304 306 305 if (GS3) { 307 306 if (site_name==null) { … … 418 417 419 418 // Save configuration. 420 saveConfig();419 Configuration.save(); 421 420 422 421 // Get the gui to deallocate … … 641 640 DebugStream.println("Error in Gatherer.initProxy(): " + error); 642 641 DebugStream.printStackTrace(error); 643 }644 }645 646 647 /** Causes the general configuration file to export itself to xml. Doesn't effect any remaining collection configuration, as its up to the collection manager to handle them (especially since we have no idea where they are going). */648 private void saveConfig() {649 try {650 Configuration.save();651 } catch (Exception exception) {652 DebugStream.printStackTrace(exception);653 642 } 654 643 }
Note:
See TracChangeset
for help on using the changeset viewer.