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/03/08 07:50:59 UTC

[jira] Updated: (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:all-tabpanel ]

Carl Hall updated FELIX-2852:
-----------------------------

    Attachment: felix-2852.diff

Attached a patch to manually update a file's checksum after writing a .config file. The checksum is only updated in scanners that have prior knowledge of the file.

> 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
>         Attachments: felix-2852.diff
>
>
> 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