Changeset 9034


Ignore:
Timestamp:
2005-02-15T11:01:19+13:00 (19 years ago)
Author:
mdewsnip
Message:

Debug files are now written to the user GLI folder, rather than the main GLI folder.

File:
1 edited

Legend:

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

    r8992 r9034  
    142142        String debug_file_path = "debug" + now.get(Calendar.DATE) + "-" + now.get(Calendar.MONTH) + "-" + now.get(Calendar.YEAR) + ".txt";
    143143
    144         // Debug file is created in the GLI directory, unless the GLI is running as an applet
    145         if (isGsdlRemote) {
    146         debug_file_path = Utility.getGLIUserFolder().toString() + File.separator + debug_file_path;
    147         }
     144        // Debug file is created in the user's GLI directory
     145        debug_file_path = Utility.getGLIUserFolder().toString() + File.separator + debug_file_path;
    148146        DebugStream.println("Debug file path: " + debug_file_path);
    149147        DebugStream.setDebugFile(debug_file_path);
     
    319317        c_man.loadCollection(open_collection);
    320318        }
    321 
    322319    }
    323320    catch (Exception exception) {
     
    327324    // Create GUI Manager (last) or else suffer the death of a thousand NPE's
    328325    g_man = new GUIManager(size);
    329 
    330326    return g_man;
    331327    }
Note: See TracChangeset for help on using the changeset viewer.