On Wed, Apr 1, 2009 at 5:26 PM, <[email protected]> wrote: > Good Morning, > In my application I need to watch two directories. Is this possible using > the File Installer? I noticed on its web page you can only set one location > to watch.
Hi, yes, it will be possible with the upcoming 0.9.2 release. (Maybe it's possible also with the current release, but the ManagedServiceFactory support was a bit buggy) Simply start Felix with the FileInstall watching a folder, and create a file name org.apache.felix.fileinstall-<something>.cfg in that folder. The file must contain the definition of the properties listed at http://felix.apache.org/site/apache-felix-file-install.html the most important of which is, of course, "felix.fileinstall.dir" You can create as many org.apache.felix.fileinstall-<something>.cfg files you want (as long they have different names) to monitor as many directory you need. -- Filippo Diotalevi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

