e(fx)clipse does not support nativeLaunchers feature
Currently, switching on the nativeLaunchers feature will cause a build-time NullPointerException because of a missing delta pack.
Currently I've prepared a workaround (disabling it by default for efxclipse) in #71 , e(fx)clipse is platform independent (not like SWT), but maybe it would be a good idea to have a native launcher (exe for windows).
Do you have example of working efxclipse application with native launcher?
The problem with creating native launcher is problem with calcualte Deltapack directory. Source code ( EquinoxProductConfigurer.getDeltapackDir line : 422)
I've prepared a workaround to generate native launcher. I added delta-pack to sources and to runtime configuration and this allow to generate native lanucher. But efxclipse project want's to provide launcher based The JavaFX Packager Tool and this may be the right solution in the feature.
eclipseVersion('efxclipse-1.2-delta-pack') {
extendsFrom 'efxclipse-1.2'
eclipseMavenGroup = 'efxclipse-1_2'
eclipseMirror = 'http://mirror.netcologne.de'
sources {
source "${eclipseMirror}/eclipse//eclipse/downloads/drops4/R-4.4.2-201502041700/eclipse-4.4.2-delta-pack.zip"
}
efxclipseApp {
project.products.nativeLauncher = true
project.dependencies {
runtime "${eclipseMavenGroup}:org.eclipse.equinox.launcher.win32.win32.x86_64:+"
}
}
}
selectedEclipseVersion = 'efxclipse-1.2-delta-pack'