You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@apache.org> on 2013/10/28 07:55:32 UTC
[jira] [Closed] (CONFIGURATION-534) PropertyConfiguration's
handling of includes depends on the existence of a base path
[ https://issues.apache.org/jira/browse/CONFIGURATION-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen closed CONFIGURATION-534.
------------------------------------------------
> PropertyConfiguration's handling of includes depends on the existence of a base path
> ------------------------------------------------------------------------------------
>
> Key: CONFIGURATION-534
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-534
> Project: Commons Configuration
> Issue Type: Bug
> Affects Versions: 1.9
> Reporter: Oliver Heger
> Fix For: 2.0, 1.10
>
>
> {{PropertiesConfiguration}} has a property which controls whether include files are allowed. This property does not have a set method, it is set to *true* automatically if a base path is set. There may be scenarios in which it makes sense to support include files anyway, e.g. if they are specified as fully qualified file names or URIs or can be retrieved by the standard lookup mechanism.
> So the set method should be public, and it makes sense to set this property to *true* per default. If a file contains an _include_ property, the files it refers to should propably be loaded.
> Also the get method for the property which controls file inclusion does not conform to the Java Beans specification; returning a *boolean*, it should start with the prefix _is_.
--
This message was sent by Atlassian JIRA
(v6.1#6144)