Hi Jean-Baptiste,
the Karaf version is 3.0.3 and yes, I modified the
felix.fileinstall.dir, created the load directory, moved all *.cfg
files into that directory and it stopped working. If I moved all the
org.apache.karaf.*.cfg back into ${karaf.etc} (still with the modified
felix.fileinstall.dir) it worked again. At least according to the logs.
I did not run any further tests.
Regards,
Lars


On Sun, 27 Sep 2015 19:16:08 +0200
Jean-Baptiste Onofré <[email protected]> wrote:

> Hi Lars,
> What Karaf version ?
> 
> It should work as I package using /etc for different Unix distro.
> 
> Did you move all existing cfg files (and only cfg, not properties) in 
> ${karaf.etc}/load ?
> 
> Regards
> JB
> 
> On 09/27/2015 07:05 PM, Lars Kiesow wrote:
> > Hi,
> > since we have a lot of configuration files and several of them are
> > already grouped in sub-folders of %{karaf.etc}, I tried to change
> > the felix fileinstall directory in the config.properties
> > (automatically in the assembly step):
> >
> >    felix.fileinstall.dir = ${karaf.etc}/load
> >
> > By doing this I hoped to make things less confusing for users who
> > would at first glance only see the main configuration files like the
> > custom.properties and not have to figure out which of the over 30
> > files in the main directory is important, ...
> >
> > The problem: It seems like not all *.cfg files are loaded by the
> > felix fileinstall and after moving all of them, the project would
> > not start. I also figured out that the configuration itself seems
> > to work though as I can move some of the configuration files.
> >
> > My guess at the moment would be that the org.apache.karaf.*.cfg
> > have to stay in the main directory but it is hard to tell and I do
> > not necessarily want to try out all combinations :)
> >
> > Does anyone know id there is a pattern to this? Or can point me to
> > some documentation?
> >
> > Regards,
> > Lars
> >
> 

Attachment: pgp55hoSRbD50.pgp
Description: OpenPGP digital signature

Reply via email to