You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2013/03/16 21:30:12 UTC

[jira] [Created] (CONFIGURATION-534) PropertyConfiguration's handling of includes depends on the existence of a base path

Oliver Heger created CONFIGURATION-534:
------------------------------------------

             Summary: 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


{{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