NB61JavaFXInstallerImplementation
NetBeans 6.1 + JavaFX Modules Installer Implementation
Contents |
What Installer Team needs
Clone of repository
We need the clone (say, release61_javafx_installer) of NetBeans 6.1 repository (hg.netbeans.org/release61) to perform development of the NetBeans + JavaFX Installer.
It haven`t to be public - it can be located in SWAN, but it should be located in the lab infrastructure to avoid any shutdown.
Installer require only {nbi,installer,reglib} modules to be present there, all the rest can be removed.
We can also reuse javafx repository to store installer sources in it.
Hudson job
It can be configured on either hovnival, hlemyzd-2, etc.
It should work with the release61_javafx_installer clone.
Installers for Windows (NBI) and Mac (Native Mac) would be be in the same job one by one.
We`ll use NetBeans fcs zips - NetBeans will not be rebuild for this installer.
Internal storage for builds.
We can use e.g. smetiste server like we do for all the other installers.
PS. When the development is finished, all the changes would be likely merged to main.
JavaFX cluster zip
It will incredibly save our development efforts if JavaFX modules would be arhived into cluster (javafx1).
Since some modules are platform-dependent(SDK), having two versions of cluster is highly appreciated.
Alternative ways:
- have one cluster zip for both platforms, during installer build process redundant modules are stripped
- have one cluster zip for both platforms, leave everything untouched (extra 6MB in download size), AU takes care of loading correct modules
What Installer Team provides
Unified installation experience
The installation experince of "NetBeans with JavaFX" pack would be pretty much the same as "..with JavaSE..".
Installer branding
We can brand current NetBeans 6.1 installer (graphics and labels) within reasonable limits (window icon and title, graphics on welcome panel, top graphics of the wizard frame).
We`ll use "The installer will install NetBeans IDE with Java FX pack" on the welcome panel definitely.
Installer file names branding:
- Windows:
netbeans-6.1-javafx-windows.exe
- Mac OS X:
netbeans-6.1-javafx-macosx.dmg
JDK bundling (windows)
It is possible to bundle the JDK - either the latest JDK6U6 or JDK6U10beta - and install it during installation process, if it is not yet installed.
It is also possible to run installer on the bundled JRE - it means that installer would be able to run even without any JRE/JDK on the system.
Custom distro id
Read more about the distribution id.
Notes
Current JavaFX modules requires both NetBeans and JavaFX SDK to run on JDK6.
That means that on Mac OS X this bundle can only work on Leopard with additionally JDK6 installed.
TBD: Check if JDK6 Developer Preview can be used on Tiger for NetBeans and SDK.
It also means that on Windows, we have 2 options:
- If NetBeans 6.1 is already installed and configured with JDK5, then install JDK6U10, JavaFX and silently update jdk path in etc/netbeans.conf to use JDK6u10.
- Live it`s own life and do not detect whether NetBeans is already installed or not, just install the new bundle (in the separate dir)
TBD: NetBeans userdir: check whether custom userdir is required (~/.netbeans/6.1javafx) or we can live in the same one (~/.netbeans/6.1)

