Changeset 9865


Ignore:
Timestamp:
2005-05-13T10:49:57+12:00 (19 years ago)
Author:
mdewsnip
Message:

More minor tidy-ups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/Gatherer.java

    r9864 r9865  
    184184        String java_vendor = System.getProperty("java.vendor");
    185185        if (!java_vendor.equals("Sun Microsystems Inc.")) {
    186         // is this the definitive string??
    187186        System.err.println(Dictionary.get("General.NotSunJava", java_vendor));
    188187        }
     
    228227        else {
    229228        // Perl path is a little different as it is perfectly ok to
    230         // start the Gatherer without providing a perl path
     229        // start the GLI without providing a perl path
    231230        boolean found_perl = false;
    232231        if (Configuration.perl_path != null) {
     
    303302        // Create Collection Manager
    304303        c_man = new CollectionManager();
    305        
     304
    306305        if (GS3) {
    307306        if (site_name==null) {
     
    418417
    419418    // Save configuration.
    420     saveConfig();
     419    Configuration.save();
    421420
    422421    // Get the gui to deallocate
     
    641640        DebugStream.println("Error in Gatherer.initProxy(): " + error);
    642641        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);
    653642    }
    654643    }
Note: See TracChangeset for help on using the changeset viewer.