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 2008/11/13 08:36:44 UTC

[jira] Commented: (CONFIGURATION-327) INIConfiguration Global parameters alias sectional parameters

    [ https://issues.apache.org/jira/browse/CONFIGURATION-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647213#action_12647213 ] 

Oliver Heger commented on CONFIGURATION-327:
--------------------------------------------

Making INIConfiguration a true hierarchical configuration is certainly the future-proof solution because in the next major release of Commons Configuration all configuration classes are intended to be hierarchical. This will also address some of the other tickets created for INIConfiguration. I will try to create such a hierarchical implementation.

Unfortunately changing the inheritance structure from AbstractFileConfiguration to AbstractHierarchicalFileConfiguration is a binary incompatible change. So I will have to create a new class, say HierarchicalINIConfiguration. We can then deprecate the original INIConfiguration.

> INIConfiguration Global parameters alias sectional parameters
> -------------------------------------------------------------
>
>                 Key: CONFIGURATION-327
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-327
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Documentation, Format
>    Affects Versions: 1.5
>            Reporter: Charles Honton
>         Attachments: INIConfiguration.diff, TestINIConfiguration.diff
>
>
> After reading the following file with INIConfiguration 
> default = ok
> dotted.var1 = default
> [section1]
> dotted.var1 = foo
> var2 = doodle
> The set of sections returned by INIConfiguration.getSections() includes "dotted" and "section1".  I did not expect a section "dotted".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.