svn commit: r1527226 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/io/FileLocatorUtils.java test/java/org/apache/commons/configuration/io/TestFileLocatorUtil

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:30:08 2013 New Revision: 1527226 URL: http://svn.apache.org/r1527226 Log: Added a constant for the default file location strategy to FileLocatorUtils. This strategy will be used if no specific strategy is provided in a FileLocator. The default location strategy

svn commit: r1527227 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/io/FileLocatorUtils.java test/java/org/apache/commons/configuration/io/TestFileLocatorUtil

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:30:49 2013 New Revision: 1527227 URL: http://svn.apache.org/r1527227 Log: Added a method for extracting a location strategy from a FileLocator. In a FileLocator the default location strategy can be overridden. The new method always returns a valid strategy, no

svn commit: r1527228 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/io/FileHandler.java test/java/org/apache/commons/configuration/io/TestFileHandler.java

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:31:27 2013 New Revision: 1527228 URL: http://svn.apache.org/r1527228 Log: Added support for a location strategy to FileHandler. FileHandler now provides methods for setting and querying the FileLocationStrategy of the underlying FileLocator. Modified:

svn commit: r1527229 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/io/FileLocatorUtils.java test/java/org/apache/commons/configuration/io/TestFileLocatorUtil

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:32:06 2013 New Revision: 1527229 URL: http://svn.apache.org/r1527229 Log: Added new locate() methods based on FileLocator objects. These methods use a FileLocationStrategy to resolve the passed in locator objects. They are going to replace the existing locate()

svn commit: r1527230 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/io/FileLocatorUtils.java test/java/org/apache/commons/configuration/io/TestFileLocatorUtil

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:32:46 2013 New Revision: 1527230 URL: http://svn.apache.org/r1527230 Log: fullyInitializedLocator() now uses the new locate(FileLocator) method. So when obtaining a fully initialized FileLocator the customizable FileLocationStrategy is used. Modified:

svn commit: r1527232 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestXMLPropertiesConfiguration.java

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:33:50 2013 New Revision: 1527232 URL: http://svn.apache.org/r1527232 Log: Use a simpler way to obtain a URL in a test case. The old FileLocatorUtils.locate() method has become obsolete, so all references to it have to be removed. Modified:

svn commit: r1527231 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/io/FileHandler.java test/java/org/apache/commons/configuration/io/TestFileHandler.java

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:33:24 2013 New Revision: 1527231 URL: http://svn.apache.org/r1527231 Log: FileHandler now uses the locator-based locate() method when loading its file. This means that the customizable FileLocationStrategy is applied; applications can change the algorithm for

svn commit: r1527237 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/CatalogResolver.java

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:41:08 2013 New Revision: 1527237 URL: http://svn.apache.org/r1527237 Log: CatalogResolver now uses the locator-based method for locating files. References to FileLocatorUtils.locate(FileSystem, String, String) have been replaced by

svn commit: r1527236 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/PropertiesConfiguration.java

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:40:40 2013 New Revision: 1527236 URL: http://svn.apache.org/r1527236 Log: Changed loading of include files in PropertiesConfiguration. Files to be included are now resolved using the new locate(FileLocator) method of FileLocatorUtils (and thus the customizable

svn commit: r1527238 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/builder/FileBasedConfigurationBuilder.java test/java/org/apache/commons/configuration/buil

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:41:43 2013 New Revision: 1527238 URL: http://svn.apache.org/r1527238 Log: FileBasedConfigurationBuilder now ensures that its FileLocator is fully defined. Before actually loading the associated file, the locator's locate() method is called. This ensures that

svn commit: r1527239 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/io/FileLocatorUtils.java

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:42:10 2013 New Revision: 1527239 URL: http://svn.apache.org/r1527239 Log: Removed obsolete method and reduced method visibility. The old, hard-coded locate() method is no longer used; it has been fully replaced by the new one which uses the customizable

svn commit: r1527240 - in /commons/proper/configuration/trunk/src/test: java/org/apache/commons/configuration/builder/combined/TestCombinedConfigurationBuilder.java resources/testCCFileSystemSubConfig

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:42:43 2013 New Revision: 1527240 URL: http://svn.apache.org/r1527240 Log: Added a test case for configuration of the file system. This test demonstrates that for each configuration source defined in the definition file for a CombinedConfigurationBuilder a

svn commit: r1527241 - in /commons/proper/configuration/trunk/src/site/xdoc/userguide: howto_filesystems.xml user_guide.xml

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:43:09 2013 New Revision: 1527241 URL: http://svn.apache.org/r1527241 Log: Updated the user's guide regarding file access. The section about file systems was renamed to Access to Files. It now also covers information about file location strategies. Modified:

svn commit: r1527242 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/builder/ test/java/org/apache/commons/configuration/builder/

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:43:50 2013 New Revision: 1527242 URL: http://svn.apache.org/r1527242 Log: Extended properties for file-based builders by FileLocationStrategy property. The FileLocationStrategy to be used for resolving the file to be loaded can now be specified in the builder's

svn commit: r1527244 - in /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined: TestCombinedConfigurationBuilder.java TestCombinedConfigurationBuilderVFS

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:44:48 2013 New Revision: 1527244 URL: http://svn.apache.org/r1527244 Log: Changed file system access in tests for CombinedConfigurationBuilder. Rather than changing the default file system, the file system is now set via the parameters object passed to the

svn commit: r1527246 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/ConfigurationUtils.java test/java/org/apache/commons/configuration/TestConfigurationUtils.

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:45:24 2013 New Revision: 1527246 URL: http://svn.apache.org/r1527246 Log: Removed some obsolete methods from ConfigurationUtils. Methods related to URL handling have been moved to FileLocatorUtils. Modified:

svn commit: r1527247 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/CatalogResolver.java

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:45:51 2013 New Revision: 1527247 URL: http://svn.apache.org/r1527247 Log: Changed default file system, made protected fields private. Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/resolver/CatalogResolver.java

svn commit: r1527248 - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/io/FileSystem.java test/java/org/apache/commons/configuration/io/TestDefaultFileSystem.jav

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:46:30 2013 New Revision: 1527248 URL: http://svn.apache.org/r1527248 Log: Some changes in FileSystem class. Removed the static default file system field. It was thread-hostile. (The file system now has to be provided explicitly by clients.) Changed the way the

svn commit: r1527249 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/io/DefaultFileSystem.java

2013-09-28 Thread oheger
Author: oheger Date: Sat Sep 28 19:46:57 2013 New Revision: 1527249 URL: http://svn.apache.org/r1527249 Log: DefaultFileSystem now uses the logger defined by the base class. Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/io/DefaultFileSystem.java

svn commit: r1527270 - in /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz: SevenZArchiveEntry.java SevenZOutputFile.java

2013-09-28 Thread bodewig
Author: bodewig Date: Sun Sep 29 05:06:12 2013 New Revision: 1527270 URL: http://svn.apache.org/r1527270 Log: simplify has*Date handling in SevenZEntry Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java

svn commit: r1527274 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java

2013-09-28 Thread bodewig
Author: bodewig Date: Sun Sep 29 05:52:52 2013 New Revision: 1527274 URL: http://svn.apache.org/r1527274 Log: an archive without folders may skip CodersInfo Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java Modified: