commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <>
Subject [jira] Commented: (CONFIGURATION-273) Saving with interpolation
Date Thu, 24 May 2007 06:30:16 GMT


Oliver Heger commented on CONFIGURATION-273:

Maybe we could implement this feature in a more generic way: The copy methods in ConfigurationUtils
could support an additional mode, in which interpolation is automatically performed for affected
properties, so that the resulting configuration only contains properties with resolved variables.

Then you can use arbitrary destination configurations, including file-based configurations,
which can be saved later.

For hierarchical configurations this task is a bit more complicated (they are not fully supported
by the copy() methods of ConfigurationUtils), but it should be possible, too.

> Saving with interpolation
> -------------------------
>                 Key: CONFIGURATION-273
>                 URL:
>             Project: Commons Configuration
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Daniel Adrian
> 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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message