[
https://issues.apache.org/jira/browse/FELIX-5001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740987#comment-14740987
]
David Jencks commented on FELIX-5001:
-------------------------------------
At my request Carsten also committed 1701934 and 1702030 which make the list
command display both the component descriptions and below that indented the
configurations. While I agree with him that the result is not ideal to look at
this is the information that I consider essential. It now looks something like:
{code}
[ 8] com.ibm.ws.config.xml.internal.ServerXMLConfigurationMBeanImpl
enabled
[ 8] [satisfied ]
[ 10] com.ibm.wsspi.config.internal.FilesetImpl enabled
[ 33] [active ] com.ibm.ws.kernel.metatype.helper.fileset_8
(com.ibm.ws.kernel.metatype.helper.fileset )
[ 34] [active ] com.ibm.ws.kernel.metatype.helper.fileset_7
(com.ibm.ws.kernel.metatype.helper.fileset )
{code}
I committed 1702491 which fixes some formatting problems in the info command.
I note that in my environment where the console is started after DS the gogo
descriptor annotations don't get picked up. I'm still looking for a solution
to this.
> scr:list Gogo command should display component descriptions and configurations
> ------------------------------------------------------------------------------
>
> Key: FELIX-5001
> URL: https://issues.apache.org/jira/browse/FELIX-5001
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-2.0.0
> Reporter: Neil Bartlett
> Assignee: Carsten Ziegeler
> Priority: Critical
> Fix For: scr-2.0.2
>
>
> The gogo command scr:list has changed drastically since version 1.8.2 and is
> now unusable. The component IDs are not displayed and so there is no way for
> the user to pass this ID to the scr:info command.
> Here is the current output:
> {noformat}
> g! scr:list
> Name BundleId DefaultEnabled
> [org.example.exchange.orderentry.OrderEntry] [ 11] [true]
> [org.example.exchange.prices.feed] [ 2] [true]
> [org.example.osgi.exchange.impl.ExchangeImpl] [ 2] [true]
> {noformat}
> For reference, here was the much more useful output from 1.8.2:
> {noformat}
> g! scr:list
> Id State BundleId Name
> [ 0] [active ] [ 2] org.example.osgi.exchange.impl.ExchangeImpl
> [ 1] [active ] [ 2] org.example.exchange.prices.feed
> [ 2] [active ] [ 11] org.example.exchange.orderentry.OrderEntry
> [ 3] [active ] [ 2] org.example.exchange.prices.feed
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)