last update: 08/23/2004 14:28:04

Older changelogs


v2.6.5

  • improved load method for the ConfigHandler. This method can also accecpt URLs
  • fixed a bug in NestedConfiguration (the configuration name was declared as private)
  • more testcases for the event listener package
  • fixed a bug where the configuration changed event was not generated
  • removed annoying output to STDOUT "trying to find encoding"
  • changed getAsXMLString(). This method now returns the entire XML as String
  • fixed a bug in the getIntProperty and all the other primitive type supporting methods where variables were not replaced
  • fixed a bug in the ResourceLocator
  • included new ErrorHandler
  • bugfix in VariableManager that caused a NPE under special circumstances
  • added two more demos (one for the nested config and one for the variables)

Version 2.6

  • bugfix: getConfigurationNames now works
  • the environment variables are only loaded when they are used for the first time
  • new DatabaseHandler for storing a configuration in a database
  • bugfix: setProperty in nested categories did not create new inner categories
  • quite a few bugfixes in the configuration server
  • improved documentation (a few TODOs replaced with real content)
  • improved EncodingHandling
  • new generic standard MBean
  • fixed bugs in the dynamic MBean

Version 2.5.1

  • bugfix: variables were not replaced in nested categories
  • bugfix: listeners were not working
  • the jConfig.pdf is now included (first version)

Version 2.5

  • fixed a bug in the toString() method of DefaultConfiguration (property value was not written out)
  • added the new ScriptHandler
  • added the new ExtensibleCategory (can extend other categories)
  • added the CDataHandler (using the tag name as property name -> new XML structure)
  • nested categories are finally available
  • includes jconfig.properties to set default parser
  • ConfigurationServer included and the ConfigServerHandler
  • isNew() method added in Configuration to determine if the Configuration was loaded or created by the ConfigurationManager
  • bugfixes

Version2.4

This version was never released because it was promoted as v2.5.

Version 2.3

  • bug fixes
  • new save method in ConfigurationManager save(String configName)
  • reload of changed files working
  • variables are now also saved
  • variables now support environment variables ( )
  • variables support system properties ( )
  • Configuration is now an interface
  • there is now a ParserFactory included allowing the user to write his own implementation of the configuration and their own XML parser
  • URLWatcher like the FileWatcher to observe a file from an URL
  • String[] getArray(..) methods integrated to get an array like
  • the jConfig GUI is included. It is a frontend designed to manage your configuration.
  • all testcases are included in the source distribution so if you change the source code you can run the tests to make sure you didn't broke something

Version 2.2

  • Category Objects have been introduced
  • Updated EventListener mechanism (Configuration, Category, Property)
  • Reported bugs were fixed
  • Auto Reload is back. Somehow got lost during the 2.0 conversion
  • Improved ResourceLocator for configuration files

Version 2.1

  • NullPointerException potential problems solved

Version 2.0

  • Change log information lost

New in Version 1.3

  • jConfig now supports multiple instances of the ConfigurationManager. Each of them can have a different configuration.
  • the methods deleteProperty and deleteCategory are now included giving you the ability to modify the configuration in memory and then save it.
  • jConfig can now watch your config-files and reload them automatically if the file has changed. Thanks to Davesh Patel for the request.
  • you can now use "/" inside a category or property name. Thanks to Christian Hartmann for this fix.
  • jConfig has a new architecture and is now ready to be connected to a LDAP server or a XML database or whatever.
  • some minor bug-fixes

New in Version 1.2


  • define variables and use them inside the properties definitions
  • auto configuration load ability. the load method must not be used if the config.xml exists in your classpath
  • inheritance is now inside. create your general category and let the other categories inherit those properties
  • proxy server problem solved with setups that need to load a configuration file from an URL.
  • create a jconfig.properties file, and dump it in your classpath.
  • new load method ready that accepts and InputStream. it should be a jConfig configuration file coming in through the InputStream.

New in Version 1.1


  • can validate the configuration (file/URL) using the jconfig.dtd
  • XML schema definition is included
  • the ConfigurationManagerException now also includes the original exception message if there is any
  • the load methods are synchronized to make jConfig thread-safe
  • Windows batch files are included together with Linux shell scripts

Version 1.0


  • reads a XML file with the configuration
  • writes a XML based configuration file
  • reads the XML from an URL
  • reads in Java properties files
  • generates Java proeprties files
  • convert Java properties files to XML files and vice versa
  • supports a 2 level hierarchical structure so that properties can be organized in categories
  • uses JAXP1.1