Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1179

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2.4
    • 2.2.6, 3.0.0
    • karaf
    • None
    • 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()

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            cdolan Chris Dolan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: