Author: henning Date: Tue Oct 22 09:54:29 2013 New Revision: 3321 Log: add configuration-1.10-RC1
Added: dev/commons/configuration/RELEASE-NOTES-1.10-RC1.txt (with props) dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz (with props) dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz.asc dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip (with props) dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip.asc dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz (with props) dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz.asc dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip (with props) dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip.asc Added: dev/commons/configuration/RELEASE-NOTES-1.10-RC1.txt ============================================================================== --- dev/commons/configuration/RELEASE-NOTES-1.10-RC1.txt (added) +++ dev/commons/configuration/RELEASE-NOTES-1.10-RC1.txt Tue Oct 22 09:54:29 2013 @@ -0,0 +1,100 @@ +$Id: RELEASE-NOTES.txt 1534410 2013-10-21 23:13:34Z henning $ + + Commons Configuration Package + Version 1.10 + Release Notes + + +INTRODUCTION +============ + +This document contains the release notes for this version of the Commons +Configuration component. It describes the changes since the previous version. +The Commons Configuration software library provides a generic configuration +interface which enables an application to read configuration data from a variety +of sources. + +The 1.10 release contains a couple of minor bug fixes and improvements. There +are no important new features. The idea is to release the current changes which +have been applied to the 1.x branch, so that we can start with new development +on an improved (and partly binary incompatible) 2.0 version. + +As there are small changes only, Commons Configuration 1.10 is fully binary +compatible to the previous version. The minimum required Java version is 1.5. + +Please note that this release was compiled with the Java 1.6 compiler in 1.5 +mode. There is a very small chance that this introduced incompatibilities with +the Java 1.5 runtime. Java 1.5 was EOLed in October 2009. + +Following is a complete list of all changes in the new 1.10 release: + +BUG FIXES IN 1.10 +================= + +* [CONFIGURATION-500] Attributes in xml config should apply to all entries of a list + + XMLConfiguration now adds attributes of elements defining a list to + all list nodes. + +* [CONFIGURATION-546] ClassCastException in BeanHelper constructing beans with a list + of child beans. + + BeanHelper can now process BeanDefinitions initializing properties of + collection types of their target beans. + +* [CONFIGURATION-555] XMLConfiguration doesn't seem to be preserving whitespace + for the current node where xml:space="preserve" is set. + + Fixed a bug in the handling of the xml:space attribute in XMLConfiguration. + The attribute is now also applied to the current element, not only to sub elements. + +* [CONFIGURATION-556] Regression with SystemProperties in 1.8 and 1.9 + + In 1.7 and before, any change to the system properties was immediately reflected in a + SystemConfiguration object. This behaviour broke in 1.8 and 1.9. This has been fixed + for 1.10. + +* [CONFIGURATION-557] Regression: MapConfiguration no longer accepts a Map<String, String> + + In 1.7 and before, it was possible to pass an arbitrary Map into the constructor of + MapConfiguration. With the generification in 1.8, this actually broke and it was no longer + possible to pass in e.g. a Map<String, String> because the signature now required a + Map<String, Object>. Changing the constructor to accept a Map<String, ?> restores this. + + All of this is purely a compiler issue, the runtime itself does not see any of the generics + due to the Java type erasure. + +* [CONFIGURATION-558] Configuration no longer accepts List<String> as default for getList() + + Similar to CONFIGURATION-557, the getList(String, List) method was generified to be + getList(String, List<Object>) but needs to be getList(String, List<?>) so that code that + used a more specific list (such as a List<String>) still compiles against the new API. + + +IMPROVEMENTS AND NEW FEATURES IN 1.10 +===================================== + +* [CONFIGURATION-525] PropertiesConfigurationLayout does not preserve comments at bottom of a file + + PropertiesConfiguration now keeps a comment at the bottom of a + properties file. A new footer property was added for reading and + writing this footer comment. + +* [CONFIGURATION-526] Support loading from and saving to DOM nodes + + XMLPropertiesConfiguration now supports loading from and saving to DOM + nodes. + +* [CONFIGURATION-534] PropertyConfiguration's handling of includes depends on the + existence of a base path + + The includesAllowed property of PropertyConfiguration is now independent + from the existence of a base path. + +* [CONFIGURATION-550] Missing conversion to char + + Conversion to Character is now supported. + + +OTHER CHANGES +============= Propchange: dev/commons/configuration/RELEASE-NOTES-1.10-RC1.txt ------------------------------------------------------------------------------ svn:eol-style = native Added: dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz ============================================================================== Binary file - no diff available. Propchange: dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz.asc ============================================================================== --- dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz.asc (added) +++ dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz.asc Tue Oct 22 09:54:29 2013 @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (Darwin) + +iEYEABECAAYFAlJmSOIACgkQ8gLLgpYclGDIYwCgiVGjs54oLy0R9GfB8iaFz+Ng +L1IAoMgvRIn6PX4OTCSE8CnUzmLYOAdB +=LLMV +-----END PGP SIGNATURE----- Added: dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip ============================================================================== Binary file - no diff available. Propchange: dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip.asc ============================================================================== --- dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip.asc (added) +++ dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip.asc Tue Oct 22 09:54:29 2013 @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (Darwin) + +iEYEABECAAYFAlJmSOIACgkQ8gLLgpYclGDsTACfXSmst8KLhGACNWR3yqUKOi7w +YtQAn3XAAFiZ9NskgHiTrRGS3Ftafu7J +=UN1i +-----END PGP SIGNATURE----- Added: dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz ============================================================================== Binary file - no diff available. Propchange: dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz.asc ============================================================================== --- dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz.asc (added) +++ dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz.asc Tue Oct 22 09:54:29 2013 @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (Darwin) + +iEYEABECAAYFAlJmSOIACgkQ8gLLgpYclGCDEwCfUChJZ/sWCOD9/bkcrq0rcsHA +TGEAoLdkqpOI6NPbn4V0y13VouiAIr/F +=hcfC +-----END PGP SIGNATURE----- Added: dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip ============================================================================== Binary file - no diff available. Propchange: dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip.asc ============================================================================== --- dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip.asc (added) +++ dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip.asc Tue Oct 22 09:54:29 2013 @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (Darwin) + +iEYEABECAAYFAlJmSOIACgkQ8gLLgpYclGADawCdHIgsO819QfAzK723YX1A/jGd +ip8AoMUSWGEHK7+wfHHnrH76OZXPka28 +=J4X7 +-----END PGP SIGNATURE-----