You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Michael Täschner <m....@gmail.com> on 2015/02/23 11:11:06 UTC

Re: FileInstall (3.4.2) - option to ignore exploded bundles

Hi,

are there any news how to disable subfolders automatically being
interpreted as exploded bundles by FileInstall ?

Best Regards,
Michael

2014-11-24 17:41 GMT+01:00 Michael Täschner <m....@gmail.com>:

> Hi JB,
>
> the issue is that FileInstall automatically generates a bundle (pax
> tinybundles?!) from any sub-directory it finds within the declared folder
> it listens on. As we have an established config structure with ConfigAdmin
> relevant .cfg in the root folder I get a number of dummy bundles in the
> container.
>
> Cheers,
> Michael
>
> 2014-11-24 17:15 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>
>> Hi Michael,
>>
>> I remember that I did something around this (as we had an issue with our
>> custom distribution, as a workaround, we just renamed the .cfg file as
>> .properties, and fileinstall ignores it).
>>
>> Let me check and get back to you.
>>
>> Regards
>> JB
>>
>>
>> On 11/24/2014 03:51 PM, Michael Täschner wrote:
>>
>>> Hi,
>>>
>>> I have an issue with the current fileInstall version inside Karaf. I
>>> configured additional directories to look for configuration files
>>> (filefilter = .\\*.cfg) which may also contain folders with other
>>> configuration files not managed via ConfigAdmin. Unfortunately
>>> FileInstall interprets these subfolders as exploded bundles.
>>>
>>> Is there any way to disable the exploded bundles option ?
>>>
>>> Current config (etc/org.apache.felix.fileinstall-isb.cfg):
>>> #
>>> # FileMonitor properties
>>> #
>>>
>>> # based on etc/config.properties
>>> felix.fileinstall.dir    = ${karaf.base}/config
>>> felix.fileinstall.filter = .*\\.cfg
>>> # default poll = 2000
>>> felix.fileinstall.poll   = 5000
>>> #felix.fileinstall.noInitialDelay = true
>>> felix.fileinstall.log.level = 3
>>> felix.fileinstall.active.level = 50
>>> felix.fileinstall.bundles.new.start=false
>>>
>>>
>>> Best Regards,
>>> Michael
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>