Changeset 7980 for trunk/gli/src
- Timestamp:
- 2004-08-18T13:45:58+12:00 (20 years ago)
- 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 417 417 // 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. 418 418 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); 420 420 if(base_archive.exists()) { 421 421 Gatherer.println("+ Archive directory found. Inspecting archives for metadata information."); -
trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r7962 r7980 66 66 /** The size of the io buffer, calculated as FACTOR * 1024. */ 67 67 static final public int BUFFER_SIZE = FACTOR * 1024; 68 /** Definition of an important directory name, in this case the archive directory forthe 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; 70 70 /** Definition of an important directory name, in this case the base dir, or the working directory of the Gatherer. */ 71 71 static public String BASE_DIR = System.getProperty("user.dir") + File.separator; … … 449 449 */ 450 450 static public String getArchiveDir(String col_dir) { 451 return col_dir + ARCHIVE _DIR;451 return col_dir + ARCHIVES_DIR; 452 452 } 453 453
Note:
See TracChangeset
for help on using the changeset viewer.