Hi,
I've noticed that in Karaf 3.0.3 if I add an additional folder to the list
of the folders to watch for configurations, Karaf creates a bundle withe the
name of the folder once a configuration file (even empty) is created in the
new folder.
The File Install configuration (config.properties) is
felix.fileinstall.enableConfigSave = true
felix.fileinstall.dir = ${karaf.etc}, ${karaf.etc}/myfolder
felix.fileinstall.filter = .*\\.cfg
felix.fileinstall.poll = 1000
felix.fileinstall.noInitialDelay = true
felix.fileinstall.log.level = 3
Bundle's header is:
myfolder (64)
-------------
Created-By = 1.8.0_45 (Oracle Corporation)
Manifest-Version = 1.0
Bnd-LastModified = 1429539709907
Generated-By-Ops4j-Pax-From =
wrap:jardir:/opt/sfw/containers/apache-karaf-3.0.3-test/etc/myfolder$Bundle-SymbolicName=myfolder&Bundle-Version=0.0.0
Tool = Bnd-2.3.0.201405100607
Bundle-ManifestVersion = 2
Bundle-SymbolicName = myfolder
Bundle-Version = 0.0.0
Bundle-Name = myfolder
Export-Package =
test.cfg
This does not happen in Karaf 2.4.1, is that expected ?
Regards,
Luca
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karav-3-0-3-vs-2-4-1-file-install-behavior-tp4039815.html
Sent from the Karaf - User mailing list archive at Nabble.com.