[jira] Resolved: (CONFIGURATION-273) Saving with interpolation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] Resolved: (CONFIGURATION-273) Saving with interpolation

JIRA jira@apache.org

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

Oliver Heger resolved CONFIGURATION-273.

       Resolution: Fixed
    Fix Version/s: 1.5

A new method interpolatedConfiguration() is now available for all configurations derived from AbstractConfiguration. This method clones the current configuration and then performs interpolation on all properties. So the result is a configuration (of the same type) that does not contain variables any more. This configuration can then be saved.

> Saving with interpolation
> -------------------------
>                 Key: CONFIGURATION-273
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-273
>             Project: Commons Configuration
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Daniel Adrian
>            Assignee: Oliver Heger
>             Fix For: 1.5
> It will be very nice if you'll add the ability to save a configuration file with the interpolation data.
> so if my config file is :
> my_home=
> my_place=Is ${my_home}
> when I save the configuration (let's say with save(true)) it will look like
> my_home=
> my_place=Is
> Thank you!

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