Project

General

Profile

Actions

Bug #3948

closed

Create new configuration system supporting modules

Added by Chad Berkley about 15 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
core
Target version:
Start date:
04/06/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3948

Description

Kepler currently has at least 4 different configuration systems each using their own configuration file. This makes it really difficult to figure out where a specific configuration item is stored. These systems should be merged into, ideally, one system. Realistically, however, two systems will probably need to exist. Currently all UI related configurations are done in .properties files with standard java localization. Workflow and core configuration is done with the ptolemy configuration system. Various other actors and subsystems use their own configuration systems.

Since kepler 2.0 will support modular additions to kepler, the configuration system needs to be flexible enough to allow the modules to add configuration items into the system at runtime. The ptolemy configuration system is flexible enough to do this and since it is used by the kernel, I propose keeping it as the main config system. I also propose keeping the .properties system for UI specific options.

Kepler, possibly through the module manager or possibly through a new configuration manager, should provide an API for allowing modules to merge their configuration options. It should provide error handling for any conflicts.

An extensive search will need to be done on the standard modules to find any other configuration subsystems being used and to merge them into the appropriate new system.


Related issues

Is duplicate of Kepler - Bug #4088: Create new configuration systemResolvedDavid Welker05/20/2009

Actions
Blocked by Kepler - Bug #4009: kepler 2.0 must provide everything needed for modulesResolvedDavid Welker04/21/2009

Actions
Blocked by Kepler - Bug #4336: Merge the old configuration systemsResolvedChad Berkley08/26/2009

Actions
Blocks Kepler - Bug #4330: common/resources/configurations/config.xml gets modified during build or runResolvedChad Berkley08/25/2009

Actions
Actions

Also available in: Atom PDF