Christian Schneider created KARAF-3398:
------------------------------------------

             Summary: 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)

Reply via email to