/p2-browser

Browse contents of p2 repos (both aggregates and composites), with ability to filter for IUs/capabilities. Forked from Igor's original source and updated to be more current.

Primary LanguageJava

Features

  • Browse contents of p2 repository as a list or grouped by features
  • Filter view by installable feature id or provided capabilities
  • See composite repositories structure
  • Save repository metadata and individual artifacts locally
  • See installable unit dependency tree and list (try it, highly recommended!)
  • See installable unit direct and indirect references
  • See features that include installable unit

Installation

  • Download the archive matching your platform and decompress it
  • Make sure a JDK 17 or more recent is installed and available on PATH
  • Alternatively, you can set the -vm argument in p2browser.ini from the application.
  • Run p2browser on linux, or p2browser.exe on Windows, or the Eclipse app on mac.

Building and running p2-browser locally

To build and run p2-browser as a standalone RCP application:

  • Make sure a JDK 17 or more recent is installed and available on PATH
  • Clone this git repository locally
  • From base directory of the clone run the following command
    ./mvnw clean package
  • RCP applications for all enabled platforms will be created under the directory:
com.ifedorenko.p2browser.rcp/target/products/com.ifedorenko.p2browser.rcp/

Both packed and unpacked versions are created

    ├── com.ifedorenko.p2browser.rcp
    │   ├── linux
    │   │   └── gtk
    │   │       └── x86_64
    │   ├── macosx
    │   │   └── cocoa
    │   │       └── x86_64
    │   └── win32
    │       └── win32
    │           └── x86_64
    ├── com.ifedorenko.p2browser.rcp-linux.gtk.x86_64.tar.gz
    ├── com.ifedorenko.p2browser.rcp-macosx.cocoa.x86_64.tar.gz
    └── com.ifedorenko.p2browser.rcp-win32.win32.x86_64.zip
  • To start p2-browser, execute p2browser (or p2browser.exe, on Windows) from the root of the RCP app for your platform.