09 February 2022

Any Eclipse RCP Client applications is a set of OSGi bundles started inside an Equinox framework.

The list of bundles that are started and the order is often controlled by the SimpleConfigurator and its bundles.info file.

The bundles.info file is located inside the configuration folder of the Eclipse RCP application.

For Mac OS, it is located inside the *.app file (use the context menu "Show Package Contents" to open it):

└── Contents
    └── Eclipse
        └── configuration
            └── org.eclipse.equinox.simpleconfigurator
                └── bundles.info

For windows or linux it is next to the *.exe file or bin file:

├── myapp.exe
└── configuration
    └── org.eclipse.equinox.simpleconfigurator
        └── bundles.info

The file describes the list of bundles that will be started. It is more or less a CSV file, that looks like this:


For each bundle, the bundles.info file contains one line with this information:

  • symbolic name

  • version

  • location

  • start level

  • marked as started

The bundles are alphabetically sorted inside a bundles.info file. This make the comparison between two files easy.

The code that is parsing those files can be found in SimpleConfiguratorUtils.java:

  • SimpleConfiguratorUtils#readConfiguration(InputStream, URI)

  • And for one line: SimpleConfiguratorUtils#parseBundleInfoLine(String, URI)

This can be useful to investigate Eclipse RCP startup issues.

Post source on GitHub