You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/10/15 12:18:31 UTC

[jira] Resolved: (FELIX-1572) File Install running in an infinite loop while watching multiple directories, once of which is itself

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

Guillaume Nodet resolved FELIX-1572.
------------------------------------

       Resolution: Fixed
    Fix Version/s: fileinstall-2.0.2
         Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
	M	fileinstall/src/main/java/org/apache/felix/fileinstall/internal/FileInstall.java
Committed r825455

Please give it a try and reopen if needed.

> File Install running in an infinite loop while watching multiple directories, once of which is itself
> -----------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1572
>                 URL: https://issues.apache.org/jira/browse/FELIX-1572
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions:  fileinstall-1.0.0, fileinstall-1.2.0, fileinstall-2.0.0
>         Environment: generic
>            Reporter: Ajay Kumar
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: fileinstall-2.0.2
>
>
> Felix File install runs in an infinite loop, if you put a configuration file to watch itself
> Steps to reproduce
> 1. Configure file install to watch /foo/bar directory
> 2. Put a new configuration file e.g org.apache.felix.fileinstall-<pid>.cfg in /foo/bar directory in order to watch multiple directories. If the value of felix.fileinstall.dir inside the configuration file  is anything but /foo/bar, it works great. 
> However if you modify the value of felix.fileinstall.dir  to /foo/bar (meaning the same directory which file install is watching), it runs in an infinite loop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.