You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Chris Dolan (Created) (JIRA)" <ji...@apache.org> on 2012/02/02 13:55:53 UTC

[jira] [Created] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

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

                 Key: KARAF-1179
                 URL: https://issues.apache.org/jira/browse/KARAF-1179
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 2.2.4
         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
            Reporter: Chris Dolan
            Priority: Trivial


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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199640#comment-13199640 ] 

Jean-Baptiste Onofré commented on KARAF-1179:
---------------------------------------------

Fix on karaf-2.2.x: revision 1240074
Fix on trunk: revision 1240075
                
> "dev:watch *" doesn't notice new bundles added to the container
> ---------------------------------------------------------------
>
>                 Key: KARAF-1179
>                 URL: https://issues.apache.org/jira/browse/KARAF-1179
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
>            Reporter: Chris Dolan
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 2.2.6, 3.0.0
>
>
> 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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-1179:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> "dev:watch *" doesn't notice new bundles added to the container
> ---------------------------------------------------------------
>
>                 Key: KARAF-1179
>                 URL: https://issues.apache.org/jira/browse/KARAF-1179
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
>            Reporter: Chris Dolan
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 2.2.6, 3.0.0
>
>
> 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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Closed] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-1179.
---------------------------------

    
> "dev:watch *" doesn't notice new bundles added to the container
> ---------------------------------------------------------------
>
>                 Key: KARAF-1179
>                 URL: https://issues.apache.org/jira/browse/KARAF-1179
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
>            Reporter: Chris Dolan
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 2.2.6, 3.0.0
>
>
> 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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

Posted by "Guillaume Nodet (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198772#comment-13198772 ] 

Guillaume Nodet commented on KARAF-1179:
----------------------------------------

You're right.  Do you plan to provide a patch for that ?
                
> "dev:watch *" doesn't notice new bundles added to the container
> ---------------------------------------------------------------
>
>                 Key: KARAF-1179
>                 URL: https://issues.apache.org/jira/browse/KARAF-1179
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
>            Reporter: Chris Dolan
>            Priority: Trivial
>
> 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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1179.
-----------------------------------------

    Resolution: Fixed
    
> "dev:watch *" doesn't notice new bundles added to the container
> ---------------------------------------------------------------
>
>                 Key: KARAF-1179
>                 URL: https://issues.apache.org/jira/browse/KARAF-1179
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
>            Reporter: Chris Dolan
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 2.2.6, 3.0.0
>
>
> 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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1179:
----------------------------------------

    Fix Version/s: 3.0.0
                   2.2.6
    
> "dev:watch *" doesn't notice new bundles added to the container
> ---------------------------------------------------------------
>
>                 Key: KARAF-1179
>                 URL: https://issues.apache.org/jira/browse/KARAF-1179
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
>            Reporter: Chris Dolan
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 2.2.6, 3.0.0
>
>
> 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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

Posted by "Chris Dolan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198752#comment-13198752 ] 

Chris Dolan commented on KARAF-1179:
------------------------------------

Oops, Jira took my "*" characters and interpreted them as bold...
                
> "dev:watch *" doesn't notice new bundles added to the container
> ---------------------------------------------------------------
>
>                 Key: KARAF-1179
>                 URL: https://issues.apache.org/jira/browse/KARAF-1179
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
>            Reporter: Chris Dolan
>            Priority: Trivial
>
> 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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1179) "dev:watch *" doesn't notice new bundles added to the container

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199097#comment-13199097 ] 

Jean-Baptiste Onofré commented on KARAF-1179:
---------------------------------------------

Good point Chris.

AFAIR, I tested it recently (but I'm sure on which Karaf version).

I gonna make a try and fix it.
                
> "dev:watch *" doesn't notice new bundles added to the container
> ---------------------------------------------------------------
>
>                 Key: KARAF-1179
>                 URL: https://issues.apache.org/jira/browse/KARAF-1179
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.4
>         Environment: Talend Service Factory 2.5.0.0 (Karaf 2.2.4)
>            Reporter: Chris Dolan
>            Priority: Trivial
>             Fix For: 2.2.6, 3.0.0
>
>
> 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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira