Project

General

Profile

Actions

Bug #4336

closed

Merge the old configuration systems

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

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

0%

Estimated time:
Bugzilla-Id:
4336

Description

Migrate existing configuration files to use the new configuration system described in bug 3948. Functionality should not be altered when the systems are merged. The three major current configuration systems are the config.xml (ecoinformatics xml), the configuration.xml (moml) and the .properties (java).


Related issues

Blocks Kepler - Bug #3948: Create new configuration system supporting modulesResolvedChad Berkley04/06/2009

Actions
Actions #1

Updated by Chad Berkley over 14 years ago

Have now removed the configXML system from kepler and replaced it with the new ConfigurationManager. ConfigurationManager documentation can be found here:
https://kepler-project.org/developers/teams/framework/configuration-system-documentation

Next step is to figure out how to migrate the .properties files to the new format, then after that, the ptolemy configuration.xml file.

Actions #2

Updated by Chad Berkley over 14 years ago

I have converted all but 4 of the .properties files to the new system. The remaining 4, uiDisplayText, uiSettings, uiSVGIconMappingsByClass and uiSVGMappingsByLSID are used by the ptolemy.kernel.util.StaticResources class. This poses a problem because we obviously don't want ptolemy to depend on the kepler configuration system. I've asked Christopher about possibly making a Kepler specific StaticResources class that can use our config system. These 4 properties files will remain until this is sorted out.

The only remaining configuration object to be converted is the ptolemy configuration file itself. How to do this will require more thought.

Actions #3

Updated by Chad Berkley over 14 years ago

All .properties files have now been removed from kepler and their contents merged into the configuration manager. StaticResources has been moved from the Ptolemy tree to the Kepler tree as I could not see a real reason why it was in the ptolemy tree to begin with. It is now in util/src/org/kepler/util. The remaining file to convert is the ptolemy configuration.xml file.

Actions #4

Updated by Chad Berkley over 14 years ago

All of the kepler specific factory properties have now been removed from the configuration.xml file. I still need to port this to wrp, but then this part should be done. The remaining items in the ptolemy configuration.xml file are pretty static and should not be a problem in the future. We can convert these later if need be. I will close this bug after finishing the wrp work.

Actions #5

Updated by Chad Berkley over 14 years ago

removing the 4597 dependency because that doesn't really depend on the configuration conversion.

Actions #6

Updated by Chad Berkley over 14 years ago

Also still need to convert the reporting module. I also missed one property in the ptolemy config. "tabPaneFactory" still needs to be removed and converted.

Actions #7

Updated by Chad Berkley over 14 years ago

All ptolemy configuration.xml files (that I know about) in kepler (except for the main one in common) have now been removed. This includes the ones in wrp and workflow-run-manager. The properties have been converted to use the configuration manager and are overridden in the modules' Intialize class.

All configuration items that I know about have now been converted to the new system. I'm closing this bug. If any issues with this pop up, please open a new bug.

Actions #8

Updated by Chad Berkley over 14 years ago

Closing...

Actions #9

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 4336

Actions

Also available in: Atom PDF