Changeset 13820
- Timestamp:
- 2007-01-26T12:30:33+13:00 (17 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
r13736 r13820 962 962 } 963 963 964 964 MetadataSetManager.clearMetadataSets(); 965 965 MetadataSetManager.loadMetadataSets(collection_metadata_directory); 966 966 … … 980 980 // Read through the metadata.xml files in the import directory, building up the metadata value trees 981 981 MetadataXMLFileManager.clearMetadataXMLFiles(); 982 MetadataXMLFileManager.loadMetadataXMLFiles(collection_import_directory );982 MetadataXMLFileManager.loadMetadataXMLFiles(collection_import_directory,collection.toSkimFile()); 983 983 984 984 // Read through the doc.xml files in the archives directory -
trunk/gli/src/org/greenstone/gatherer/gui/ExplodeMetadataDatabasePrompt.java
r13748 r13820 46 46 import org.greenstone.gatherer.collection.CollectionManager; 47 47 import org.greenstone.gatherer.collection.ScriptOptions; 48 import org.greenstone.gatherer.collection.Collection; 48 49 import org.greenstone.gatherer.greenstone.LocalGreenstone; 49 50 import org.greenstone.gatherer.gui.tree.DragTree; … … 348 349 349 350 // Load the new metadata.xml files 350 MetadataXMLFileManager.loadMetadataXMLFiles(metadata_file.getParentFile()); 351 Collection collection = Gatherer.c_man.getCollection(); 352 MetadataXMLFileManager.loadMetadataXMLFiles(metadata_file.getParentFile(),collection.toSkimFile()); 351 353 Gatherer.g_man.refreshCollectionTree(DragTree.COLLECTION_CONTENTS_CHANGED); 352 354 resultPrompt(true, error_message.toString());
Note:
See TracChangeset
for help on using the changeset viewer.