Hi,

Yes and no ;)

Several folders is possible via the configuration in etc/config.properties.

It's not possible via a factory.

In your case, you should create etc/org.apache.felix.fileinstall-foo.cfg with a single directory.

Regards
JB

On 14/10/2021 10:12, Andrei Petru Mura wrote:
From Apache Felix documentation page (https://felix.apache.org/documentation/subprojects/apache-felix-file-install.html <https://felix.apache.org/documentation/subprojects/apache-felix-file-install.html>), I get this:

|felix.fileinstall.dir|

        

./load

        

The name of the directory to watch. Several directories can be specified by using a comma separated list.

If I try to do this in Apache Karaf 4.3.3, I should go to ${karaf.home}/etc/org.apache.felix.fileinstall-deploy.cfg and edit:

felix.fileinstall.dir           = ${karaf.base}/deploy

to something like:
felix.fileinstall.dir           = ${karaf.base}/deploy,${karaf.base}/custom-deploy

But I get this in the log:

Root path does not exist: /edited/path/apache-karaf-4.3.3/deploy:/edited/path/apache-karaf-4.3.3/custom-deploy

Is this possible in Apache Karaf?

Thanks,
Andrei

Reply via email to