First refreshUrl only reload the features descriptors. It doesn't update the features. We've added the dev:watch command in karaf 2.2.0 which can automatically update bundles if newer snapshots are available in your local repo. I guess the problem is to detect when snapshots have actually changed, but I suppose it could be done by looking at the maven metadata. Though it might be a bit more costly than checking the local file system as this would need several http requests for each snapshot, so a sufficient delay should be used between polls.
On Thu, Mar 17, 2011 at 17:12, Dan Tran <[email protected]> wrote: > Hello, > > I am able to install my snaphot features from my company maven > repository. When there is new snapshot on my repo, > features:refreshUrl is able to identify the latest snapshot > ..-features.xml ( via latest timestamp file ), however after that > nothing happens. I am expecting all my SNAPSHOT bundles belong to my > features.xml to get downloaded and restart. > > is this a bug? > > -Dan > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
