No it doesn't work like this. <configfile/> doesn't take a config, it takes a config file url like mvn:....
Take a look in Cellar feature descriptor for an example. (sorry I have just my phone ;)) Regards JB -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://wwx.talend.com ----- Reply message ----- From: "Marco" <[email protected]> To: <[email protected]> Subject: Config in features.xml to config file Date: Wed, Dec 4, 2013 11:48 am Hi, I cannot get it working. I tried <configfile finalname="etc/myconfig.cfg" override="true"> <config name="myconfig"> prop=value </config> </configfile> But it doesn't work. What I'm actually trying to do is to write a new *.cfg file in /etc only by installing the feature at startup. I want to avoid making a custom distribution for a project I'm working on. Is that possible? If not, any suggestion for achieving the goal? Thank you, Marco -- View this message in context: http://karaf.922171.n3.nabble.com/Config-in-features-xml-to-config-file-tp4030504p4030513.html Sent from the Karaf - User mailing list archive at Nabble.com.
