Did you try below one? <configfile finalname="etc/myconfig.cfg" override="true">myconfig.cfg</configfile>
Thanks Vamsi On Wed, Dec 4, 2013 at 1:29 AM, Marco [via Karaf] < [email protected]> 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 > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://karaf.922171.n3.nabble.com/Config-in-features-xml-to-config-file-tp4030504.html > To start a new topic under Karaf - User, email > [email protected] > To unsubscribe from Karaf - User, click > here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=dm1hbGxhZGlAc2FsZXNmb3JjZS5jb218OTMwNzQ5fDIwNzcyOTI0NTQ=> > . > NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://karaf.922171.n3.nabble.com/Config-in-features-xml-to-config-file-tp4030504p4030505.html Sent from the Karaf - User mailing list archive at Nabble.com.
