Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3398

Improve display of package:imports

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0.M1
    • Fix Version/s: 4.0.0.M2, 4.0.0.M3
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              chris@die-schneider.net Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: