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-2.0.0, fileinstall-1.2.0,  fileinstall-1.0.0
         Environment: generic
            Reporter: Ajay Kumar


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.

Reply via email to