Bug #4336
closed
Merge the old configuration systems
Added by Chad Berkley about 15 years ago.
Updated almost 15 years ago.
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).
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.
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.
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.
removing the 4597 dependency because that doesn't really depend on the configuration conversion.
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.
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.
Original Bugzilla ID was 4336
Also available in: Atom
PDF