Changeset 6621


Ignore:
Timestamp:
2004-01-27T16:21:03+13:00 (20 years ago)
Author:
jmt12
Message:

Blah blah blah

File:
1 edited

Legend:

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

    r6593 r6621  
    200200    return decoded;
    201201    } */
     202
    202203    /** It turns out that in Java you have to make sure a directory is empty before you delete it (much like unix I suppose), and so just like unix I'll have to set up a recursive delete function.
    203204     * @param file The <strong>File</strong> you want to delete.
     
    562563    File gli_user_folder = null;
    563564    if(Utility.isWindows()) {
    564         gli_user_folder = new File(System.getProperty(USER_HOME_PROPERTY) + File.separator + APPLICATION_DATA_FOLDER + File.separator + GLI_CONFIG_FOLDER + File.separator);
     565        gli_user_folder = new File(System.getProperty(USER_HOME_PROPERTY) + File.separator + APPLICATION_DATA_FOLDER + File.separator + WIN_GLI_CONFIG_FOLDER + File.separator);
    565566    }
    566567    else {
    567         gli_user_folder = new File(System.getProperty(USER_HOME_PROPERTY) + File.separator + GLI_CONFIG_FOLDER + File.separator);
     568        gli_user_folder = new File(System.getProperty(USER_HOME_PROPERTY) + File.separator + UNIX_GLI_CONFIG_FOLDER + File.separator);
    568569    }
    569570    return gli_user_folder;
Note: See TracChangeset for help on using the changeset viewer.