[ 
https://issues.apache.org/jira/browse/CONFIGURATION-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Heger resolved CONFIGURATION-534.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

Fixed in revision 1457278.
                
> 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
>
>
> {{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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to