Author: henning Date: Thu Oct 24 08:48:09 2013 New Revision: 3340 Log: update to RC2
Added: dev/commons/configuration/RELEASE-NOTES.txt (with props) dev/commons/configuration/binaries/commons-configuration-1.10-bin.tar.gz (with props) dev/commons/configuration/binaries/commons-configuration-1.10-bin.tar.gz.asc dev/commons/configuration/binaries/commons-configuration-1.10-bin.zip (with props) dev/commons/configuration/binaries/commons-configuration-1.10-bin.zip.asc dev/commons/configuration/source/commons-configuration-1.10-src.tar.gz (with props) dev/commons/configuration/source/commons-configuration-1.10-src.tar.gz.asc dev/commons/configuration/source/commons-configuration-1.10-src.zip (with props) dev/commons/configuration/source/commons-configuration-1.10-src.zip.asc Removed: dev/commons/configuration/RELEASE-NOTES-1.10-RC1.txt dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.tar.gz.asc dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip dev/commons/configuration/binaries/commons-configuration-1.10-RC1-bin.zip.asc dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz dev/commons/configuration/source/commons-configuration-1.10-RC1-src.tar.gz.asc dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip dev/commons/configuration/source/commons-configuration-1.10-RC1-src.zip.asc Added: dev/commons/configuration/RELEASE-NOTES.txt ============================================================================== --- dev/commons/configuration/RELEASE-NOTES.txt (added) +++ dev/commons/configuration/RELEASE-NOTES.txt Thu Oct 24 08:48:09 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.txt ------------------------------------------------------------------------------ svn:eol-style = native Added: dev/commons/configuration/binaries/commons-configuration-1.10-bin.tar.gz ============================================================================== Binary file - no diff available. Propchange: dev/commons/configuration/binaries/commons-configuration-1.10-bin.tar.gz ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/configuration/binaries/commons-configuration-1.10-bin.tar.gz.asc ============================================================================== --- dev/commons/configuration/binaries/commons-configuration-1.10-bin.tar.gz.asc (added) +++ dev/commons/configuration/binaries/commons-configuration-1.10-bin.tar.gz.asc Thu Oct 24 08:48:09 2013 @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (Darwin) + +iEYEABECAAYFAlJo1+kACgkQ8gLLgpYclGAqHgCfTY7vuCntiPs0lZjoQ53rjN+T +bwsAnjXz44TI86IYLl9QY9vukkxwAkYz +=nkpR +-----END PGP SIGNATURE----- Added: dev/commons/configuration/binaries/commons-configuration-1.10-bin.zip ============================================================================== Binary file - no diff available. Propchange: dev/commons/configuration/binaries/commons-configuration-1.10-bin.zip ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/configuration/binaries/commons-configuration-1.10-bin.zip.asc ============================================================================== --- dev/commons/configuration/binaries/commons-configuration-1.10-bin.zip.asc (added) +++ dev/commons/configuration/binaries/commons-configuration-1.10-bin.zip.asc Thu Oct 24 08:48:09 2013 @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (Darwin) + +iEYEABECAAYFAlJo1+kACgkQ8gLLgpYclGCsPACg3gBw10XniAX3gF2zkS8ErEgl +VmQAnj2wcYu9rO1NfQEbz2A+wPykzldO +=36zv +-----END PGP SIGNATURE----- Added: dev/commons/configuration/source/commons-configuration-1.10-src.tar.gz ============================================================================== Binary file - no diff available. Propchange: dev/commons/configuration/source/commons-configuration-1.10-src.tar.gz ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/configuration/source/commons-configuration-1.10-src.tar.gz.asc ============================================================================== --- dev/commons/configuration/source/commons-configuration-1.10-src.tar.gz.asc (added) +++ dev/commons/configuration/source/commons-configuration-1.10-src.tar.gz.asc Thu Oct 24 08:48:09 2013 @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (Darwin) + +iEYEABECAAYFAlJo1+kACgkQ8gLLgpYclGB5SACg5r1bL2/uilsRGTa5uAkGj0kj +yJwAoIABYl0GY57x4pNiG0q9P2Btd8tt +=su9z +-----END PGP SIGNATURE----- Added: dev/commons/configuration/source/commons-configuration-1.10-src.zip ============================================================================== Binary file - no diff available. Propchange: dev/commons/configuration/source/commons-configuration-1.10-src.zip ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/configuration/source/commons-configuration-1.10-src.zip.asc ============================================================================== --- dev/commons/configuration/source/commons-configuration-1.10-src.zip.asc (added) +++ dev/commons/configuration/source/commons-configuration-1.10-src.zip.asc Thu Oct 24 08:48:09 2013 @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (Darwin) + +iEYEABECAAYFAlJo1+kACgkQ8gLLgpYclGCXJwCfZJXxxEHLlLyV2Y6aXE1KFFi4 +Qy8AoIq7+W2RB6q9GfjA01V7YkdoCP1w +=Tjds +-----END PGP SIGNATURE-----