Hi Marco,
You can use <config/> or <configfile/> in a feature.
Regards
JB
On 12/03/2013 08:59 PM, Marco wrote:
Hello everyone,
I would like to ask if is it possible to have the configuration parameters
specified in the features XML file to be written into /etc folder
automatically.
For example:
<?xml version="1.0" encoding="UTF-8"?>
<features>
<feature name="example-1">
<config name="org.company.example">
prop=value
</config>
</feature>
</features>
to have the org.company.example.cfg in the /etc folder after installing the
feature example-1.
In general, is there any way to customize the *.properties and *.cfg files
directly from the feature without using a custom distribution?
Many thanks,
Marco
--
View this message in context:
http://karaf.922171.n3.nabble.com/Config-in-features-xml-to-config-file-tp4030504.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com