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

Bengt Rodehav updated FELIX-3487:
---------------------------------

    Attachment: ConfigInstaller.patch
                Properties.patch

Note that the utils project must first be released. The pom.xml in the 
fileinstall project must then be changed to use the new version of the utils 
project.
                
> Variables are not preserved during write-back if they are defined as 
> framework properties
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-3487
>                 URL: https://issues.apache.org/jira/browse/FELIX-3487
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>    Affects Versions: fileinstall-3.2.2
>         Environment: Karaf 2.2.5
>            Reporter: Bengt Rodehav
>            Priority: Minor
>         Attachments: ConfigInstaller.patch, Properties.patch
>
>
> Fileinstall tries to only write back (to the configuration file) properties 
> that have been changed. This fails if the value uses a property that is 
> defined as a framework property (accessible via BundleContext.getProperty). 
> In theory file install does support this but when handling configuration 
> changes, the framework properties are not taken into account.
> E g this is the case when using Karaf and defining properties in 
> config.properties.
> This has been discussed on Felix user mailing list, see:
> http://www.mail-archive.com/users@felix.apache.org/msg12281.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to