Karaf
  1. Karaf
  2. KARAF-1179

"dev:watch *" doesn't notice new bundles added to the container

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf-shell
    • Labels:
      None
    • Environment:

      Talend Service Factory 2.5.0.0 (Karaf 2.2.4)

      Description

      If I issue "dev:watch " and then later add a bundle to Karaf (e.g. by installing a feature) that is a mvn:-SNAPSHOT bundle, then org.apache.karaf.shell.dev.watch.BundleWatcher doesn't notice that bundle.

      I see that BundleWatcher implements BundleListener, but I can't see anywhere that it's registered as a listener. It seems to me that it should call BundleContect.addBundleListener(this) in BundleWatcher.start() and remove it in stop()

        Activity

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Chris Dolan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development