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/DeleteCollectionPrompt.java

    r9018 r9045  
    215215    private void scanForCollections() {
    216216    // Start at the collect dir.
    217     File collect_directory;
    218     if (Gatherer.GS3) {
    219         collect_directory = new File(Utility.getCollectDir(Configuration.gsdl3_path, Configuration.site_name));
    220     } else {
    221         collect_directory = new File(Utility.getCollectDir(Configuration.gsdl_path));
    222     }
    223     if(collect_directory.exists()) {
     217    File collect_directory = new File(Gatherer.getCollectDirectoryPath());
     218    if (collect_directory.exists()) {
    224219        // Now for each child directory see if it contains a .col file and
    225220        // if so try to load it..
Note: See TracChangeset for help on using the changeset viewer.