Thanks, I have it now.
Just for others who cannot read a manual, here's how I did it.

    <feature name="camel-route" version="1.0-SNAPSHOT">
        <configfile finalname="etc/CamelRoute.cfg"
override="true">mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/cfg/groups
        </configfile>
    </feature>

Regards,
Laci

On 05.02.2014 16:26, Jean-Baptiste Onofré wrote:
You're feature is not correct:

    <feature name="camel-route" version="${pom.version}">
<configfile finalname="etc/CamelRoute.cfg" override="true">CamelRoute.cfg
        </configfile>
    </feature>

The CamelRoute.cfg has to be an URL, for instance:

file://path/to/CamelRoute.cfg

or

mvn:groupId/...

Regards
JB

On 02/05/2014 04:15 PM, Laci Gaspar wrote:
Yes, I have read that, but I didn't understand it all.

what does this error mean: ?
karaf@root> features:install  camel-route
Error executing command: no protocol: CamelRoute.cfg

Best,
Laci

On 05.02.2014 16:11, Jean-Baptiste Onofré wrote:
By the way:

http://karaf.apache.org/manual/latest/users-guide/provisioning.html

Regards
JB

On 02/05/2014 04:02 PM, Laci Gaspar wrote:
Hi JB
I think I'm having problems with my mvn syntax. I had already tried:
features:install
mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/cfg/groups
features:install
mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/xml/features
But all I get is:
Error executing command: No feature named 'mvn:ch.curabill.msp.service'
with version '0.0.0' available

How do I have to do it?

Thanks,
Laci

On 05.02.2014 16:01, Jean-Baptiste Onofré wrote:
Hi Laci,

The cfg file will be deployed with the feature:

feature:install

install is the short form for bundle:install, so it doesn't install
the configfile.

Regards
JB






Reply via email to