Changeset 10456
- Timestamp:
- 2005-08-10T13:13:14+12:00 (19 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
r10382 r10456 347 347 // Now create the collection object around the directory. 348 348 collection = new Collection(new File(collection_directory_path, name + ".col")); 349 350 // "-removeold" is on by default for import.pl 351 collection.import_options.setValue("removeold", true, null); 349 352 350 353 MetadataSetManager.clearMetadataSets(); -
trunk/gli/src/org/greenstone/gatherer/gui/CreatePane.java
r10455 r10456 749 749 ((GBuildProgressMonitor)build_monitor).reset(); 750 750 import_monitor.setStop(false); 751 // Set removeold automatically.752 if(Gatherer.c_man.ready() && Gatherer.c_man.built()) {753 Gatherer.c_man.getCollection().import_options.setValue("removeold", true, null);754 }755 751 } 756 752 } … … 787 783 build_monitor.setStop(true); 788 784 build_monitor.reset(); 789 // Set removeold automatically. 790 Gatherer.c_man.getCollection().import_options.setValue("removeold", true, null); 785 791 786 // Remove the collection lock. 792 787 //Gatherer.g_man.lockCollection(false, false);
Note:
See TracChangeset
for help on using the changeset viewer.