Generally speaking if you have dependency between bundles just wrap them in a 
feature. 

It’s more consistent. 

Regards 
JB

> Le 19 oct. 2021 à 08:41, Andrei Petru Mura <[email protected]> a écrit :
> 
> 
> I have the original deploy folder, like this:
> felix.fileinstall.dir           = ${karaf.base}/deploy
> felix.fileinstall.tmpdir        = ${karaf.data}/generated-bundles
> felix.fileinstall.poll          = 1000
> felix.fileinstall.start.level   = 80
> felix.fileinstall.active.level  = 80
> felix.fileinstall.log.level     = 3
> 
> and then the second one like this:
> felix.fileinstall.dir           = ${karaf.base}/other-deploy
> felix.fileinstall.tmpdir        = ${karaf.data}/generated-bundles
> felix.fileinstall.poll          = 1000
> felix.fileinstall.start.level   = 80
> felix.fileinstall.active.level  = 80
> felix.fileinstall.log.level     = 3
> 
> Do you think there's any problem with my configuration?
> 
> Thanks,
> Andrei
> 
>> On Tue, Oct 19, 2021 at 9:39 AM Andrei Petru Mura <[email protected]> 
>> wrote:
>> I tried this. And it worked, only that some issues arise related to 
>> dependencies. Sometimes, the dependencies aren't found at runtime, although 
>> they are installed.
>> 
>>> On Fri, Oct 15, 2021 at 9:30 AM Jean-Baptiste Onofré <[email protected]> 
>>> wrote:
>>> 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