Changeset 5373


Ignore:
Timestamp:
2003-08-29T16:28:18+12:00 (21 years ago)
Author:
jmt12
Message:

Fixed a bug we introduced when we moved the importMDS(extracted metadata set)

File:
1 edited

Legend:

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

    r5347 r5373  
    329329            }
    330330        }
    331         // Always import the extracted metadata set
    332         collection.msm.importMDS(new File(Utility.METADATA_DIR + Utility.EXTRACTED_METADATA_NAMESPACE + StaticStrings.METADATA_SET_EXTENSION), false);
    333331        // 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.
    334332        if(!skip_import_phase) {
     
    368366        updateCollectionCFG(new File(base_collection_directory, Utility.CONFIG_DIR), new File(a_dir, Utility.CONFIG_DIR), description, email, title);
    369367        }
     368       
     369        // Always import the extracted metadata set
     370        collection.msm.importMDS(new File(Utility.METADATA_DIR + Utility.EXTRACTED_METADATA_NAMESPACE + StaticStrings.METADATA_SET_EXTENSION), false);
    370371
    371372        collection.cdm = new CollectionDesignManager(new File(getCollectionConfig()));
Note: See TracChangeset for help on using the changeset viewer.