Bug #4336

Merge the old configuration systems

Added by Chad Berkley almost 13 years ago. Updated over 12 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


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 modulesResolved04/06/2009


#1 Updated by Chad Berkley over 12 years ago

Have now removed the configXML system from kepler and replaced it with the new ConfigurationManager. ConfigurationManager documentation can be found here:

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

#2 Updated by Chad Berkley over 12 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.

#3 Updated by Chad Berkley over 12 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.

#4 Updated by Chad Berkley over 12 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.

#5 Updated by Chad Berkley over 12 years ago

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

#6 Updated by Chad Berkley over 12 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.

#7 Updated by Chad Berkley over 12 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.

#8 Updated by Chad Berkley over 12 years ago


#9 Updated by Redmine Admin about 9 years ago

Original Bugzilla ID was 4336

Also available in: Atom PDF