You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carl Hall (JIRA)" <ji...@apache.org> on 2011/02/21 20:31:38 UTC

[jira] Commented: (FELIX-2852) Infinite reloading of config file ending with .config

    [ https://issues.apache.org/jira/browse/FELIX-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997539#comment-12997539 ] 

Carl Hall commented on FELIX-2852:
----------------------------------

I have a preliminary patch put together to update the .config file's checksum in the scanner but have hardcoded how the scanner is retrieved. I will continue to refine the patch and attach it once I am satisfied with it.

> Infinite reloading of config file ending with .config
> -----------------------------------------------------
>
>                 Key: FELIX-2852
>                 URL: https://issues.apache.org/jira/browse/FELIX-2852
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions: fileinstall-3.1.10
>            Reporter: Carl Hall
>
> When a config file ending with .config is written back to the file system, lastModified is updated even if the file has not changed since it was last written/read. Config files ending with .cfg are not affected by this as lastModified is not updated if the file has not changed.
> Workaround: apply the patch from FELIX-2843 and set felix.fileinstall.disableConfigSave=false

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira