jfxDeploy extremely slow on linux

Create issue
Issue #53 resolved
Elia Dal Santo created an issue


I'm using the 0.4.0 version of the plugin (since I'm stuck with java 7 for the moment) to build a javaFX 2.2 application, and I noticed an annoying issue.

While on windows the build process only takes a few seconds, on linux (Ubuntu 15.04 64bit) the task jfxDeploy is absurdly slow (60+ seconds).

Is this a known problem? Or is it something wrong my end? Here's some details on the environment:

Gradle 2.2

Build time:   2014-11-10 13:31:44 UTC
Build number: none
Revision:     aab8521f1fd9a3484cac18123a72bcfdeb7006ec

Groovy:       2.3.6
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.7.0_80 (Oracle Corporation 24.80-b11)
OS:           Linux 3.19.0-22-generic amd64

java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

Comments (2)

  1. Danno Ferrin repo owner

    This is expected and unavoidable. On windows it sounds like you don't have Innosetup or WiX installed, or else it would take much longer than a few seconds. On Ubuntu, the dpkg tool is installed by default so the deploy task is generating installable .deb bundles. This is the source of the slowdown and is unavoidable.

    If you only want a disk image layout or jnlp you can set the deploy to only create images by adding "packaging='image'" to the javafx configuration...

    javafx { //.. other stuff packaging = 'image' }

  2. Log in to comment