Revision 4403
Added by daigle about 16 years ago
src/edu/ucsb/nceas/metacat/service/PropertyService.java | ||
---|---|---|
377 | 377 |
|
378 | 378 |
// store the properties to file |
379 | 379 |
backupProperties.store(); |
380 |
mainBackupProperties = |
|
381 |
new SortedProperties(mainBackupPropertiesFilePath); |
|
382 |
mainBackupProperties.load(); |
|
380 | 383 |
|
381 | 384 |
} catch (TransformerException te) { |
382 | 385 |
throw new GeneralPropertyException("Could not transform backup properties xml: " |
... | ... | |
419 | 422 |
|
420 | 423 |
// store the properties to file |
421 | 424 |
backupProperties.store(); |
425 |
orgBackupProperties = |
|
426 |
new SortedProperties(orgBackupPropertiesFilePath); |
|
427 |
orgBackupProperties.load(); |
|
422 | 428 |
|
423 | 429 |
} catch (TransformerException te) { |
424 | 430 |
throw new GeneralPropertyException("Could not transform backup properties xml: " |
... | ... | |
454 | 460 |
|
455 | 461 |
// store the properties to file |
456 | 462 |
backupProperties.store(); |
463 |
ldapBackupProperties = |
|
464 |
new SortedProperties(ldapBackupPropertiesFilePath); |
|
465 |
ldapBackupProperties.load(); |
|
457 | 466 |
|
458 | 467 |
} catch (TransformerException te) { |
459 | 468 |
throw new GeneralPropertyException("Could not transform backup properties xml: " |
Also available in: Unified diff
Reload backup properties after they are changed so it will show up on the configuration form when you go back to it.