The easiest way I've seen to do this is to use a "managed service factory" config file in /etc/ pointing to the other instance of fileinstall. Like this.

in file (/etc/org.apache.felix.fileinstall-application.cfg )
---------------------------------------------------------------
felix.fileinstall.dir     = /application
felix.fileinstall.poll    = 1000
felix.fileinstall.filter  = .*\\.cfg


now if you put *.cfg files in /application they should be read properly.

~Cliff



Charles Moulliard wrote:
Hi,

Under Apache Felix Karaf, it is possible to place properties file that we
use to configure log, maven repo or datasource of a project/applicatio

n
under the directory {karaf.home}/etc

Can we specify another directory for the application properties file under
Apache felix karaf ? That means that we keep /etc for the system properties
files felix.fileinstall.dir     = ${karaf.base}/deploy
felix.fileinstall.tmpdir  = ${karaf.base}/data/generated-bundles
felix.fileinstall.poll    = 1000
and /application by example will be used for client project ?

Kind regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to