Thanks a lot for fixing this Guillaume - I really appreciate it. Do you have any idea of when the next release of fileinstall is planned for? It would be really nice if this fix would make it all the way into the next release of Karaf.
/Bengt 2012/6/11 Guillaume Nodet (JIRA) <[email protected]> > > [ > https://issues.apache.org/jira/browse/FELIX-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292751#comment-13292751] > > Guillaume Nodet commented on FELIX-3487: > ---------------------------------------- > > URL: http://svn.apache.org/viewvc?rev=1348779&view=rev > > > 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 > > Assignee: Guillaume Nodet > > Priority: Minor > > Fix For: fileinstall-3.2.4, utils-1.1.4 > > > > 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/[email protected]/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 > > >
