IntelliJ IDEA 2016.3 Help

OSGi

File | Settings | Languages and Frameworks | OSGi


Use this page to manage project specific and application wide settings of OSGi-based applications.

Prerequisites

This page appears in the Settings/Preferences dialog, when the Osmorc plugin is enabled.

The plugin is bundled with IntelliJ IDEA and is activated by default. If it is disabled, you can manually enable the plugin.

ItemDescription
OSGi framework From this drop-down list, select the desired framework. The list contains all the framework instances defined for the currently running IntelliJ IDEA at the IDE level. If the framework instance you need is missing, switch to the Framework Instances page of the IDE-level OSGi settings, and define the required instance there.
Default manifestSelect the path to the default MANIFEST.MF file. This option makes sense for the OSGi facets, where the bundle creation is performed using the existing manifest and facet configuration (the option Use existing manifest and bundle using facet configuration is turned on). If any other type of creating bundles is selected, this field is ignored.
Output pathType here the path to the directory, where all compiled bundles will be stored, or click the browse button and locate the desired directory in the file system.

This path is only used, if Jar output path of the OSGi facet is set to Place in project-wide OSGi output path. Otherwise, this option is ignored, and the bundles are generated to the module output, or facet-specific path.

Apply to all facetsClick this button to apply the specified output path to all OSGi facets in the current project.

This button changes Jar output path for all facets; even though the option Place in module's output path has been selected in a facet, it will be changed to Place in project-wide OSGi output path.

Import Bnd/Bndtools projects automaticallySelect this check box to import Bnd/Bndtools projects automatically if IntelliJ IDEA detects any changes in bnd files.

Note that you can manually reimport Bnd/Bndtools project or module by selecting Reimport Projects or Reimport Workspace from the context menu in the Project tool window.

See Also

```

Reference:

Language and Framework-Specific Guidelines:

Last modified: 21 March 2017