Hi Mat,

yes, features:update or feature:refresh doesn't exist (it's not so trivial, especially about the transitive features).

So, yes: features:update == features:uninstall && features:install.

I would recommend this more than copy bundles in the deploy folder (I'm not a big fan of the hotdeployment ;)).

Regards
JB

On 07/25/2014 11:29 AM, Matthieu Vincent wrote:
Hi JB,

  thanks for tips.

Another question : if my feature is already installed, as
feature:refresh not yet available, i must do an uninstall/install
feature or may I do a deployment using a basic copy of bundles into the
deploy directory of my instance ?

Thx,
Mat


2014-07-25 11:22 GMT+02:00 Jean-Baptiste Onofré <[email protected]
<mailto:[email protected]>>:

    Hi Matthieu,

    FYI, Karaf itself is built using Jenkins and include utest/itests
    (using Pax Exam). You can take a look on Karaf codebase itself.

    For the automatic deployment, I will push my karaf:deploy Maven
    plugin goal.
    Waiting for this, you can leverage other project (Puppet, Chef,
    Kalumet), or you can simply using the exec-maven-plugin to call a
    script like:

    sshpass -p karaf ssh -p 8101 karaf@host features:addurl mvn:.....
    sshpass -p karaf ssh -p 8101 karaf@host features:install ....

    Regards
    JB


    On 07/25/2014 11:16 AM, Matthieu Vincent wrote:

        Hi everyone,

              I would like to set up a continuous integration
        environment for my
        OSGi projects and I'd like to have some feedbacks and best practices
        before starting, especially concerning integration testing and
        automatic
        deployment,

        Thanks,
        Mat


    --
    Jean-Baptiste Onofré
    [email protected] <mailto:[email protected]>
    http://blog.nanthrax.net
    Talend - http://www.talend.com



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to