wuff icon indicating copy to clipboard operation
wuff copied to clipboard

e(fx)clipse does not support nativeLaunchers feature

Open mcmil opened this issue 10 years ago • 3 comments

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).

mcmil avatar Jun 03 '15 14:06 mcmil

Do you have example of working efxclipse application with native launcher?

akhikhl avatar Jun 07 '15 20:06 akhikhl

The problem with creating native launcher is problem with calcualte Deltapack directory. Source code ( EquinoxProductConfigurer.getDeltapackDir line : 422)

94ostry avatar Apr 11 '16 15:04 94ostry

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'

94ostry avatar Apr 13 '16 06:04 94ostry