Ignore:
Timestamp:
2005-02-15T15:39:48+13:00 (19 years ago)
Author:
mdewsnip
Message:

Made major rearrangements to the way path variables are calculated. This is to facilitate being able to specify a "-collectdir" argument to the GLI so one GLI installation can be used in a networked, multi-user situation. Hope I haven't broken anything!

File:
1 edited

Legend:

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

    r8313 r9045  
    236236        // Build a list of the log files available, ordering by last modified. Log files are like build_log.date.txt
    237237        DefaultListModel contents = new DefaultListModel();
    238         File log_directory = new File(Gatherer.c_man.getCollectionLog());
     238        File log_directory = new File(Gatherer.c_man.getCollectionLogDirectoryPath());
    239239        File children[] = log_directory.listFiles();
    240240        for(int i = 0; children != null && i < children.length; i++) {
     
    289289    name.append(".txt");
    290290    // just in case there is no log directory
    291     File file = new File(Gatherer.c_man.getCollectionLog() + name.toString());
     291    File file = new File(Gatherer.c_man.getCollectionLogDirectoryPath() + name.toString());
    292292    File parent_file = file.getParentFile();
    293293    parent_file.mkdirs();
Note: See TracChangeset for help on using the changeset viewer.