good question. Does a "dev:watch *" works as expected? Kind regards, Andreas
On Fri, Nov 9, 2012 at 9:40 AM, Bengt Rodehav <[email protected]> wrote: > It looks like this in the log: > > *2012-11-09 09:34:21,416 | DEBUG | Thread-50 | BundleWatcher > | af.shell.dev.watch.BundleWatcher 81 | Bundle watcher > thread started* > *2012-11-09 09:34:21,416 | DEBUG | Thread-50 | configadmin > | ? ? | getProperties()* > *2012-11-09 09:34:21,421 | DEBUG | lixDispatchQueue | framework > | ? ? | FrameworkEvent > PACKAGES REFRESHED - org.apache.felix.framework* > *2012-11-09 09:34:22,421 | DEBUG | Thread-50 | configadmin > | ? ? | getProperties()* > *2012-11-09 09:34:22,421 | DEBUG | lixDispatchQueue | framework > | ? ? | FrameworkEvent > PACKAGES REFRESHED - org.apache.felix.framework* > *2012-11-09 09:34:23,421 | DEBUG | Thread-50 | configadmin > | ? ? | getProperties()* > *2012-11-09 09:34:23,421 | DEBUG | lixDispatchQueue | framework > | ? ? | FrameworkEvent > PACKAGES REFRESHED - org.apache.felix.framework* > > Thus, every second the package org.apache.felix.framework seems to be > refreshed. Nothing about bundle 97 though. When I manually do an "update > 97", the bundle is refreshed properly. > > BTW, I'm running on Windows 7. > > /Bengt > > > > 2012/11/9 [email protected] <[email protected]> > > Hi, >> >> Do you have something in the log ? >> >> Regards >> JB >> >> -- >> Jean-Baptiste Onofré >> [email protected] >> http://blog.nanthrax.net >> Talend - http://wwx.talend.com >> >> >> ----- Reply message ----- >> From: "Bengt Rodehav" <[email protected]> >> To: <[email protected]> >> Subject: dev:watch problems >> Date: Fri, Nov 9, 2012 8:55 am >> >> >> I'm trying to get the dev:watch command to work but I haven't succeeded >> yet. If I want to watch the bundle with id 97, I do as follows: >> >> dev:watch -i 1000 >> dev:watch 97 >> dev:watch --start >> >> I could probably do all that in one go but the above is for clarity. >> >> If I then rebuild (using maven) the bundle with id 97 I excpect that >> bundle to be updated within approximately 1 s. However, it never happens. >> If I then do a "update 97" then it works. >> >> The command "dev:watch --list" shows the following: >> >> >> *karaf@root> dev:watch --list* >> *URL ID Bundle Name* >> * >> * >> *97 97 Service-Container :: >> web-service-plugin* >> >> >> What am I doing wrong? >> >> I'm using Karaf 2.3.0. >> >> /Bengt >> > >
