- Timestamp:
- 2006-09-21T14:17:38+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
r12620 r12803 190 190 } 191 191 192 193 192 public void save() { 194 193 save(false); 195 194 } 195 196 196 /** Cause the current collection configuration to be written out to disk. 197 197 */ … … 205 205 206 206 DebugStream.println("Saving the collection config file"); 207 // Release collection as necessary208 String collection_name = Gatherer.c_man.getCollection().getName();209 boolean collection_released = false;210 211 if (Gatherer.c_man.built() && LocalLibraryServer.isRunning() == true) {212 // Release the collection213 LocalLibraryServer.releaseCollection(collection_name);214 collection_released = true;215 }216 207 217 208 collect_config.save(); 218 219 // Read collection220 if (collection_released) {221 // Now re-add collection to server to force format commands to be processed222 LocalLibraryServer.addCollection(collection_name);223 }224 209 225 210 // Unset formats changed 226 211 update_collect_cfg_required = false; 227 228 212 } 229 213
Note:
See TracChangeset
for help on using the changeset viewer.