Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

About Commons Configuration

http__--://jakarta.apche.org-/commons-/configuration CommonsConfiguration provides   provides a flexible means to add and override configuration properties. Replacing ConfigurationManagers Properties file implementation with Commons Configuration will allow Plugins and Modules added to DSpace to easily inject their configuration to be exposed under the ConfigurationManager without any addition to dspace.cfg directly.

...

An example of dspace.cfg converted to XML: ExampleDspaceConfig^ExampleDspaceConfig.xml

The benefit of the above approach in formating properties is that we get XML immediately without altering the inital lookup API of ConfigurationManager.

...

Initial efforts in converting ConfigurationManager resulted in the following patch (just for ConfigurationManager) which uses an XML'zed version of the properties file. This does not include changes neccessary to adapt the rest of the DSpace library to commons configuration. which are soon to come.

configurationMissing File: Configuration-manager-patch.txttxt 

The way properties are accessed from ConfigurationManager will change significantly further patches are being written to handle those cases.

...