IntelliJ IDEA 13.1 Web Help

File | Settings | IDE Settings | OSGi | Library Bundling

settings

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.

Item Description
Rules In this area, configure a list of regular expressions that define the libraries to be included in a bundle.

Tip

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.

Item Command Description
add.png Add Click this button to have a new entry added to the list.
delete.png Remove Click this button to remove the selected entry from the list.
copy.gif Copy Click 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.

Note

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

Manifest entries This 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.

Tip

The Add New line quick fix is available.

Never bundle If this check box is selected, the libraries that match the currently selected rule are never bundled.
Process no further rules Select this check box to suppress processing rules that come in the Rules list box after the selected rule.

See Also

Language and Framework-Specific Guidelines:

Reference:

Web Resources: