The Bndtools Package Explorer is an extension of the Eclipse Package Explorer. The explorer provides an overview of the projects and their contents. It is extended with a search bar for projects and some extra filters. You an make simple searches or use the bnd globbing. That is, you can wildcards (
example*bar) but also multiple searches in one, for example,
foo|bar to find multiple projects.
Icons are used extensively to mark the projects in the explorer. They are either used as direct icons for an object (e.g. a bnd.bnd file) or are used to decorate existing icons. For example, if a package is exported or not. The following image shows all icons in their context.
You can filter on the following additional targets:
:error– Will select a project that has errors
:warning– Will select a project that has warnings
Note that you can combine he pseudo targets with the
'|' operator, e.g.
Bndtools adds the following icons in the Package Explorer:
|Contains all the project configuration. The project configuration inherits properties from from
|A general bnd file. This is either a bnd file in the
|Describes a launch configuration. The required bundles can be indicated with initial requirements that the Bndtools resolver can turn into a list of bundles. An extensive editor is available to edit the launch configuration. A project can contain many bndrun files.|
|This is the master configuration file of the workspace. When Bndtools starts, bnd first reads the bnd files in the
|A class that is a DS component. The general icon for a component is an eco friendly green LED.|
|A package that contains DS components|
|The source folder classes that are part of the bundle|
|The source folder for test code.|
|A private package in a bundle. This package is included but not exported.|
|An exported package of a bundle. If the package has a version it will also be displayed.|
|A package that is not included in any bundle. This is rare and not a good practice so it is generally a warning sign.|
If you’re looking for other icons, the Eclipse Help shows a further reference of all icons.