IntelliJ IDEA 2017.3 Help

Library Bundling

File | Settings | Languages and Frameworks | OSGi Framework Instances | Library Bundling


Use this page to define rules that determine the libraries to be included in bundles and have manifest file entries generated based on these rules.

ItemDescription
RulesIn this area, configure a list of regular expressions that define the libraries to be included in a bundle.

The rules are processed from top to bottom. If a library matches several regular expressions, the one that comes last is applied. Therefore it is recommended that you have the list sorted as follows: the more strict a rule the closer it is to the bottom. For example, it is recommended to put the pattern *.* at the top of the list and an exact match in the bottom.

ItemCommandDescription
add.png AddClick this button to have a new entry added to the list.
delete.png RemoveClick this button to remove the selected entry from the list.
copy.gif CopyClick this button to create a copy of the selected rule.
arrowUp.png arrowDown Move Up and Move Down Use these buttons to change the order of rules in the list.
Library name pattern In this text box, specify the regular expression that constitutes the entry selected in the Rules list box.

When a new rule is added to the list, the text box by default shows .*.

Manifest entriesThis read-only field displays the manifest file entries generated on the basis of specified rules. The entries are sorted in accordance with the order of rules in the Rules list box.

The Add New line quick fix is available.

Never bundleIf this checkbox is selected, the libraries that match the currently selected rule are never bundled.
Process no further rulesSelect this checkbox to suppress processing rules that come in the Rules list box after the selected rule.
Last modified: 12 December 2017

See Also

Reference:

Language and Framework-Specific Guidelines: