Building an NBM File
See Also
An NBM file is a NetBeans module packaged for delivery via the web.
The principal differences between NBM files and module JAR files are:
- An NBM file can contain more than one JAR file—modules can package any libraries they use into their NBM file.
- An NBM file contains metadata that NetBeans will use to display information about it in the Update Center,
such as the manifest contents, the license, etc.
- An NBM file is typically signed for security purposes.
NBM files are just ZIP files with a special extension. They use the JDK's mechanism
for signing JAR files. Unless you are doing something unusual, you will not need to worry about the
contents of an NBM file—just let the standard Ant build script for NBM creation take care of it for you.
To build an NBM file:
- In the Projects window, right-click the node of the module project you want to build.
- Choose Create NBM.
- See Also
- About NetBeans Platform and Module Development
- Building a Module
Legal Notices