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/06/24 07:29:06 UTC

Feature Update Technique

Hi,

What is the current technique for updating a feature?

I have tried feature:refresh and the feature:repo-refresh.

The only way I have succeeded so far is a complete maven rebuild and restart of Karaf.

Researching previous discussions suggest creating and installing a new version of the feature works OK.

Paul Fraser


Re: Feature Update Technique

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Remember to do feature:repo-refresh if you changed the features XML.

feature:update or bundle:update or bundle:watch works anyway.

Regards
JB

On 25/06/2019 15:04, cooshal wrote:
> I also had similar issues, while trying to update the feature by simply
> replacing the older artifacts with the new one (situated in the same
> location [I was using file system to install feature bundles]).
> 
> Thus, I found that upgrading features with a newer version was an easier and
> better option. Somehow they were cached, and did not refresh the state of
> the new artifacts.
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

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

Re: Feature Update Technique

Posted by cooshal <ku...@gmail.com>.
I also had similar issues, while trying to update the feature by simply
replacing the older artifacts with the new one (situated in the same
location [I was using file system to install feature bundles]).

Thus, I found that upgrading features with a newer version was an easier and
better option. Somehow they were cached, and did not refresh the state of
the new artifacts.



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html