Changeset 7980


Ignore:
Timestamp:
2004-08-18T13:45:58+12:00 (20 years ago)
Author:
mdewsnip
Message:

Changed ARCHIVE_DIR to ARCHIVES_DIR.

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
2 edited

Legend:

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

    r7739 r7980  
    417417        // Do a dry metadata import run over the entire base collection, recording profile mappings. We do this by finding the archive files, and then iterating over them using the GreenstoneArchiveParser to retrieve metadata from them. We then process the importing of new metadata elements using the selectElement prompt used in a file action metadata import. However the big change is that we don't actually import any metadata, just create importing profiles.
    418418        if(!skip_import_phase) {
    419             File base_archive = new File(base_collection_directory, Utility.ARCHIVE_DIR);
     419            File base_archive = new File(base_collection_directory, Utility.ARCHIVES_DIR);
    420420            if(base_archive.exists()) {
    421421            Gatherer.println("+ Archive directory found. Inspecting archives for metadata information.");
  • trunk/gli/src/org/greenstone/gatherer/util/Utility.java

    r7962 r7980  
    6666    /** The size of the io buffer, calculated as FACTOR * 1024. */
    6767    static final public int BUFFER_SIZE = FACTOR * 1024;
    68     /** Definition of an important directory name, in this case the archive directory for the collection. */
    69     static final public String ARCHIVE_DIR = "archives" + File.separator;
     68    /** Definition of an important directory name, in this case the archives directory of the collection. */
     69    static final public String ARCHIVES_DIR = "archives" + File.separator;
    7070    /** Definition of an important directory name, in this case the base dir, or the working directory of the Gatherer. */
    7171    static public String BASE_DIR  = System.getProperty("user.dir") + File.separator;
     
    449449     */
    450450    static public String getArchiveDir(String col_dir) {
    451     return col_dir + ARCHIVE_DIR;
     451    return col_dir + ARCHIVES_DIR;
    452452    }
    453453
Note: See TracChangeset for help on using the changeset viewer.