Proper procedure is:
features:uninstall <feature name>
features:refreshurl
features:install <feature name>

In case if you are using KARs it’s a little bit different because instead of 
refreshurl you need to copy & override KAR file.

Cheers,
Lukasz

Wiadomość napisana przez Ryan Moquin <[email protected]> w dniu 10 lut 
2014, o godz. 23:37:

> Of course making sure the features file is refreshed if need be
> 
> Ryan
> 
> On Feb 10, 2014 3:57 PM, "Achim Nierbeck" <[email protected]> wrote:
> It's still just installing the new one and uninstalling the old one after the 
> new one is successfully installed. 
> 
> regards, Achim 
> 
> 
> 2014-02-10 mbelling <[email protected]>:
> Is there a way to update a feature in Karaf?
> 
> For example, I install version 1.0 of my feature.  Later down the road we
> put out 2.0.  Is there a command that will allow me to update version 1.0 of
> my feature to 2.0?  I saw there was a post about this about 3.5 years ago
> (http://karaf.922171.n3.nabble.com/Updating-features-td977482.html), but I
> was wondering if things have changed since then.
> 
> Thanks,
> ~Matt
> 
> 
> 
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/Updating-Karaf-Features-tp4031609.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
> 
> 
> 
> -- 
> 
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & 
> Project Lead
> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> 
> Commiter & Project Lead
> blog <http://notizblog.nierbeck.de/>

Reply via email to