karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3398) Improve display of package:imports
Date Mon, 08 Dec 2014 09:53:12 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237693#comment-14237693

Jean-Baptiste Onofré commented on KARAF-3398:

It looks good to me. Nice work.

> Improve display of package:imports
> ----------------------------------
>                 Key: KARAF-3398
>                 URL: https://issues.apache.org/jira/browse/KARAF-3398
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 4.0.0.M1
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 4.0.0
> Currently package:imports by default shows the import filter for imported packages. This
is quit verbose though:
> (&(osgi.wiring.package=org.osgi.util.tracker)(version>=1.0.0)(!(version>=2.0.0)))
> There is an option -p to show only the package. This provides a much better overview
but lacks the import ranges.
> I propose to parse the filter and extract the package name as well as the  import ranges.
Then we can display the import like:
> org.apache.aries.util.tracker                 | [1.0.0,2.0.0) 
> As this then contains all necessary informations I propose to make it the default view
and remove the -p option. We can then have a new option --filter that will switch to the old
default view.

This message was sent by Atlassian JIRA

View raw message