When creating RCP applications using SWT the product-Export allows you to create a native launcher artifact. The problem with this native artifact is that on OS-X this native launcher and JavaFX don’t like each other.
JavaFX is all about a nice user experience, so not having a native launcher is a problem for people building applications on top of the technologies provided by our e(fx)clipse project.
The real problem although is that if you want to get into e.g. the mac appstore you need to ship a native installer – for mac a dmg – which includes everything you need to run (including the JRE!).
The conclusion of those 2 points above is: We need to fix this
For none OSGi-JavaFX application Oracle ships a small utility to create:
- A native launcher experience
- A native installer for your target platform
Today I took a stab on it and finally managed to package up my FX-IDE using the fxpackager using a combination of maven-tycho and ant.
I’ve pushed the build stuff to the fx-ides github-repo. The useage of the fxpackager can be seen in the build.xml file.