You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Paul Fraser <pa...@qnenet.com> on 2019/12/20 01:50:58 UTC

Having trouble using KarService#install.

Hi,

Having trouble using KarService#install.

I have created a simple example of what I am trying to do at

https://github.com/QNENet/qkardeployerexample

I have not been able to work out how to setup "kardeployerfeatures" which is used to deploy kartest.

Any assistance gratefully accepted and if we get it to work it could be left up for the benefit of
others.

Regards

Paul Fraser


Re: Having trouble using KarService#install.

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Paul,

Do you mind to add a quick README.md in your sample to understand the
use case ?

Basically, a Kar is a zip file containing features XML + all
resources/artifacts required by the features.
It can be deploy by dropping the kar in the deploy folder or by using
kar:install command.

As a kar is atomic, it's important to avoid dependencies between kar
(else you might have race condition).

Regards
JB

On 20/12/2019 02:50, Paul Fraser wrote:
> Hi,
> 
> Having trouble using KarService#install.
> 
> I have created a simple example of what I am trying to do at
> 
> https://github.com/QNENet/qkardeployerexample
> 
> I have not been able to work out how to setup "kardeployerfeatures"
> which is used to deploy kartest.
> 
> Any assistance gratefully accepted and if we get it to work it could be
> left up for the benefit of
> others.
> 
> Regards
> 
> Paul Fraser
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com