Module Project Properties Dialog Box: Libraries
See Also
You open the Module Project Properties dialog box by right-clicking
a module project and choosing Properties.
The Libraries page lets you specify the NetBeans Platform, the module's dependencies, and the required tokens:
- Java Platform: Specifies the target JDK for building module
projects or module suite projects.
- NetBeans Platform: Specifies the target NetBeans platform against which the current
module is compiled and run. Enabled for standalone modules, not for modules that are
part of a module suite. Available NetBeans platforms are those that have been registered in the
NetBeans Platform Manager.
- Module Dependencies. Displays an alphabetical list of declared module dependencies,
from the nbproject/project.xml file. Each list entry is displayed as the module's
localized display name.
Click Add to add a new module dependency. The new dependency will initially request a
major release version and specification version as taken from the module's manifest and be included in
the classpath if there are any available packages. The new dependency will be selected so that you may use Edit
to customize it immediately. If multiple dependencies were added, just one of them will be selected automatically.
Click Remove to delete the selected item.
- Required Tokens. Sets OpenIDE-Module-Requires in the MANIFEST.MF file.
Displays a list entry for each token (sorted alphabetically).
Click Add to select a token from a of all available tokens,
based on OpenIDE-Module-Provides of all available modules, as well as any special tokens defined by the Modules API.
Click Remove to delete the selected item.
- Wrapped JARs. Bundles an external JAR file with the module. Note that this is not
a modular approach; ideally you would create a separate module containing the external JAR,
rather than including it in the same module where you want to use it. Click Export to
add the public classes in the JAR to the public interface of the module.
- See Also
- About NetBeans Platform and Module Development
- About the NetBeans Platform
Legal Notices