Also keep in mind that there is an issue with the time zones. At least in 4.0.8. When the bundle time is compared with the file time. One is in local time the other is in GMT. So if you live west of Greenwich your bundle gets always updated every 5 seconds...
I believe JB created a Jira for this. Erwin > El abr. 4, 2017, a las 10:12, Guillaume Nodet <[email protected]> escribió: > > The requirement is that the bundle uses a maven snapshot url. > If that's the case, the bundle:watch command will look for updates in the > local repository. > The only command I'm using for the bundle:watch is "bundle:watch *" which > updates all maven snapshots whenever I rebuild something. > > 2017-04-04 10:41 GMT+02:00 Cristiano Costantini > <[email protected]>: >> Hello all, >> >> I am trying to use for the first time the bundle:watch command, >> however I cannot get it to work correctly... >> >> I watch a bundle with bundle:watch ID, I also start explicitly watching with >> bundle:watch --start, the bundle is correctly listed when I execute >> bundle:watch --list , but when I recompile my bundle using mvn clean >> install, it is not updated automatically. >> >> I'm using Karaf 4.0.5 >> >> Am I doing something wrong? >> Is anyone else experiencing the same issue? >> >> Thanks >> Cristiano >> > > > > -- > ------------------------ > Guillaume Nodet >
