You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jon Brisbin (JIRA)" <ji...@apache.org> on 2008/12/09 21:08:05 UTC

[jira] Created: (SMX4KNL-160) GShell should have a "packages" command

GShell should have a "packages" command
---------------------------------------

                 Key: SMX4KNL-160
                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
             Project: ServiceMix Kernel
          Issue Type: Improvement
            Reporter: Jon Brisbin
         Attachments: update_and_packages.tgz

The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).

TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48003#action_48003 ] 

Donald Woods commented on SMX4KNL-160:
--------------------------------------

I'd loved to see these moved from SMX4 to the Kernel, as I too want to build on top of the kernel and not a full SMX4 release....


> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47999#action_47999 ] 

Chris Custine commented on SMX4KNL-160:
---------------------------------------

Lars beat me to it, but I also want to clarify that the osgi/headers command that Lars mentioned accomplishes what you want for listing exports of a bundle.  The packages/exports and packages/imports that I commented on queries bundles that export/import the packages from the named bundle ID so its not quite the same.

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SMX4KNL-160:
------------------------------------

    Fix Version/s:     (was: 1.0.1)
                   1.1.0

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>             Fix For: 1.1.0
>
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine resolved SMX4KNL-160.
-----------------------------------

       Resolution: Working as Designed
    Fix Version/s: 1.0.1

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>             Fix For: 1.0.1
>
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48004#action_48004 ] 

Chris Custine commented on SMX4KNL-160:
---------------------------------------

These commands are definitely included in the kernel trunk (osgi update command as of 10/26 and packages commands as of 10/2).  Any chance you guys are looking at old source that hasn't been svn up'd?

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48001#action_48001 ] 

Lars Heinemann commented on SMX4KNL-160:
----------------------------------------

Jon, 

I am wondering about this. Normally I would think the kernel should have those commands as it provides the OSGi stuff.
Maybe I confused you with pointing to the SMX4 snapshots but it definitly should work with the kernel trunk as well. (at least I think so)

Regards
Lars


> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Jon Brisbin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Brisbin updated SMX4KNL-160:
--------------------------------

    Attachment: update_and_packages.tgz

Patch and files to support "packages" and "update" command in gshell.

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47996#action_47996 ] 

Lars Heinemann commented on SMX4KNL-160:
----------------------------------------

Jon,

the m2 of SMX4 already provides comands for this.

* osgi/update is used for updating a bundle
* osgi/headers is used for listing the manifest contents which will also display exports and imports of a bundle

Could you please verify if this is what you want to have?
Snapshots of the m2 can be retrieved here: 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/features/apache-servicemix/4.0-m2-SNAPSHOT/


> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47998#action_47998 ] 

Chris Custine commented on SMX4KNL-160:
---------------------------------------

It seems like you might be using an older build of SMX4 because we have those commands implemented in the current SVN trunk.  You might want to update your code and try out the osgi/update command and the packages/exports or packages/imports commands.  The packages commands accept bundle ID as arguments.  Comment here again if you see anything that doesn't do what you want.

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Jon Brisbin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48002#action_48002 ] 

Jon Brisbin commented on SMX4KNL-160:
-------------------------------------

I didn't see those commands in the source, nor in the help, but I could be wrong. Happens often. :)

I'd like to try the snapshot by taking out the SMX stuff I'm not using and making it like kernel, but last time I tried that, my app wasn't happy with that setup, so I had to back down to plain Felix first, then migrate to kernel so I could get filewatcher and sundry other niceties. It's unlikely I'd deploy in that setup anyway, as I'd much rather stick with releases.

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Jon Brisbin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48000#action_48000 ] 

Jon Brisbin commented on SMX4KNL-160:
-------------------------------------

If I was using the full ServiceMix distribution, that would work fine. But I'm not (hence my creating an issue in the SMX Kernel tracker rather than the regular ServiceMix one). I'm using a heavily-customized version of SMX kernel 1.0.0 (release...compiled from source). Nary a JBI component to be found and I'm developing against the same versions of things I'll be deploying to.

I svn updated from:

http://svn.apache.org/repos/asf/servicemix/smx4/kernel/trunk/

right before I submitted the patch.



> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48010#action_48010 ] 

Chris Custine commented on SMX4KNL-160:
---------------------------------------

I'm going to mark this as resolved for 1.0.1 because these features are already in trunk and will be included in kernel 1.0.1+.

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>             Fix For: 1.0.1
>
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-160) GShell should have a "packages" command

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48005#action_48005 ] 

Donald Woods commented on SMX4KNL-160:
--------------------------------------

Yep, it's in trunk.  Sorry for not looking closer.

> GShell should have a "packages" command
> ---------------------------------------
>
>                 Key: SMX4KNL-160
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-160
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>            Reporter: Jon Brisbin
>         Attachments: update_and_packages.tgz
>
>
> The SMX kernel GShell interface should have a packages command that lists the exports exposed by various bundles. Attached is a patch that implements both this feature, and the "update" feature I created eariler today (with an included bug fix).
> TGZ file contains the two new Java files for the new commands and a diff against trunk for the gshell-osgi.xml file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.