I think that is still too confusing.  I want to see both the description and 
the configuration in the summary listing  What I wanted was more like

<bundle id> <component name or maybe class> <enabled state>
[indent] <component id> <status> <configuration pid>

I work with mostly factory configurations that have multiple instances, so this 
will produce a neat list of all the instances of a component under its 
description and make it easy to skip to the next component.  I don’t care that 
much about which fields, order, etc but I really want this 2-level display.

I’m happy to do it, but probably not today :-)

thanks
david jencks

> On Sep 9, 2015, at 3:47 AM, Carsten Ziegeler <cziege...@apache.org> wrote:
> 
> I've changed the scr:list command now to make an output like this ( I
> abbreviated the package names just for this mail):
> 
> BundleId Component Name Id    State
> [ 235]   o.a.s.get.DefaultGetServlet [ 541] [active      ]
> [ 235]   o.a.s.get.impl.DefaultHeadServlet [ 540] [active      ]
> [ 235]   o.a.s.get.impl.RedirectServlet [ 538] [active      ]
> [ 235]   o.a.s.get.info.SlingInfoServlet [ 539] [active      ]
> [ 235]   o.a.s.get.impl.version.VersionInfoServlet  --    --
> 
> So, if a component description has no configuration, it's
> [ 235] o.a.s.get.impl.version.VersionInfoServlet -- --
> 
> Otherwise for each component configuration it outputs the id and name.
> 
> I played with different output formats like first outputting the
> description and then the configurations (if any), but decided to go with
> a single list as this looks much nicer.
> 
> WDYT?
> 
> Carsten
> -- 
> Carsten Ziegeler
> Adobe Research Switzerland
> cziege...@apache.org

Reply via email to