karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Assunção <joao.assun...@exploitsys.com>
Subject Duplicate configurations when using features with configurations
Date Tue, 29 Aug 2017 15:07:15 GMT
Hello all,

I'm using config elements inside karaf features and when installed I
noticed that two configurations are created for each config element. One is
created with a key org.apache.karaf.features.configKey and the other with a
key felix.fileinstall.filename.
An example of a configuration element:

<config name="com.exploitsys.cardreader-LEVEL1" append="false">
  deviceId=reader_LEVEL1
  portName=COM1
</config>

Can anyone point me out what I'm doing wrong, and if possible a way to
prevent the creation of the cfg file in ${KARAF_HOME}/etc
Thank you.

Best regards,
João Assunção

Email: joao.assuncao@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com

Mime
View raw message