You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2015/01/21 13:41:35 UTC

[jira] [Resolved] (KARAF-3398) Improve display of package:imports

     [ https://issues.apache.org/jira/browse/KARAF-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved KARAF-3398.
----------------------------------------
    Resolution: Fixed

> 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
(v6.3.4#6332)