[
https://issues.apache.org/jira/browse/FELIX-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089032#comment-13089032
]
Richard S. Hall edited comment on FELIX-3050 at 8/22/11 9:38 PM:
-----------------------------------------------------------------
I've committed an initial pass at trying to make a consistent "inspect" command
for pre-/post-OSGi R4.3. It basically works like this:
inspect ('capability' | 'requirement') <namespace> [<bundles>]
For pre-OSGi R4.3 the namespaces are: bundle, package, host, service.
For post-OSGi R4.3 the namespaces are: osgi.wiring.bundle, osgi.wiring.package,
osgi.wiring.host, service (non-standard), or any arbitrary namespace string.
It is possible to abbreviate 'capability' or 'requirement' and <namespace>
supports wildcards. So, for example:
inspect cap *
Will print out all capabilities of every namespace for every bundle.
I still have to modify the command to properly detect if it is running on R4.3
or not...currently it assumes R4.3.
was (Author: rickhall):
I've committed an initial pass at trying to make a consistent "inspect"
command for pre-/post-OSGi R4.3. It basically works like this:
inspect ('capability' | 'requirement') <namespace> [<bundles>]
For pre-OSGi R4.3 the namespaces are: bundle, package, host, service.
For post-OSGi R4.3 the namespaces are: osgi.wiring.bundle, osgi.wiring.package,
osgi.wiring.host, service (non-standard), or any arbitrary namespace string.
In is possible to abbreviate 'capability' or 'requirement' and <namespace>
supports wildcards. So, for example:
inspect cap *
Will print out all capabilities of every namespace for every bundle.
I still have to modify the command to properly detect if it is running on R4.3
or not...currently it assumes R4.3.
> [Gogo Command] Update "inspect" command to work with OSGi R4.3 generic
> capabilities/requirements
> ------------------------------------------------------------------------------------------------
>
> Key: FELIX-3050
> URL: https://issues.apache.org/jira/browse/FELIX-3050
> Project: Felix
> Issue Type: Improvement
> Components: Gogo Command
> Affects Versions: gogo.command-0.10.0
> Reporter: Richard S. Hall
> Priority: Minor
> Fix For: gogo.command-0.12.0
>
>
> OSGi R4.3 introduces generic capabilities and requirements. We need to update
> the "inspect" command to handle them.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira