karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Baker <nba...@pentaho.com>
Subject Re: Regarding etc directory
Date Mon, 29 Aug 2016 15:00:57 GMT
/etc is just an Apache FileInstall configuration [1]. You can create as many as you'd like
or even do so programmatically. We've gone the programmatic route in the past before Karaf
to group together bundles in a hierarchical structure. The same can be done for configurations.

Unfortunately there's no recursive capability to FileInstall. That would make a neat enhancement.

[1] http://felix.apache.org/documentation/subprojects/apache-felix-file-install.html

Apache Felix - Apache Felix File Install<http://felix.apache.org/documentation/subprojects/apache-felix-file-install.html>
Apache Felix File Install. File Install is a directory based OSGi management agent. It uses
a directory in the file system to install and start a bundle when it is ...

From: Leschke, Scott <SLeschke@medline.com>
Sent: Monday, August 29, 2016 10:47:52 AM
To: user@karaf.apache.org
Subject: Regarding etc directory

I'm curious if it's possible to configure Karaf/fileinstall to look in subdirectories within
the KARAF_BASE/etc directory so that all .cfg files for an app can be grouped?


View raw message