Currently, full NetBeans bundle for Mac is delivered as four component packages placed into the disk image. Every component package contains a single product component: NetBeans, GlassFish, Tomcat or OpenESB. To access the contents of a disk image, a user double-clicks it in the Finder, which opens a standard Finder window showing the disk image’s contents. When a user double-clicks a package in the opened window, the Installer application opens the package and walks the user through the installation process. There are 5 bundles to download: full(4 packages), java ee(3 packages), java se, ruby, cpp(1 package) bundles.
Actually NetBeans is a multicomponent product. Apple Software Delivery Guide recommends to use two mechanisms for creating an install experience for a multicomponent product: using metapackages and using distribution packages. Distribution packages are a major improvement over metapackages and they can be installed only on Mac OS X v10.4–based systems and later.
Distribution packages provide a JavaScript-based mechanism for developing an install experience where each enclosed package becomes an install choice. They provide a great deal of flexibility for defining the install choices users use to customize an install.
The main idea is to create ( once! ) component packages for the GlassFish, Tomcat, OpenESB, BaseIDE and every add-on pack: cpp, javaee, javase, ruby, soa, php. Then collect those of them that are needed in bundles using distribution packages. Thus there will be created one .mpkg file for each bundle which is placed into a disk image.
Such approach provides a flexible way to improve the quality and performance of the installer, spare difficulties with rebuilding of the packages and allows to use all benefits of the distribution packages. At the same time, this way follows Apple Software Delivery Guide so it is comfortable for Mac users.
Furthermore, implementation is not going to use .pmproj files for add-on pack packages creation. Perhaps it is possible to avoid .pmproj files for distribution packages as well (needs some research).
As a result the installer will have the following advantages:
| Use Distribution packages for bundles: - One .mpkg instead of 4 packages - Allows to choose components to install - Allows to choose installation location - Allows to choose easy or custom install - Allows to establish requirements for the install choices - Follows Apple Software Delivery Guide, so will be enjoyed by Mac users Create .pkg not for NetBeans in common but for each cluster - Decreases build time three times more - Lightens the support and understanding |
| Picture 2.png | ![]() |
114975 bytes |
| Picture 4.png | ![]() |
26582 bytes |
| Picture 5.png | ![]() |
32039 bytes |
| arrow.PNG | ![]() |
2879 bytes |
| arrow.png | ![]() |
2879 bytes |