fxpackager for JavaFX-OSGi-Apps


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.

About these ads

Trackbacks/Pingbacks

  1. JavaFX links of the week, November 5 // JavaFX News, Demos and Insight // FX Experience - November 4, 2012

    [...] Tom Schindl has two posts out this week. Firstly, he posted three videos on the following topics: e4 on JavaFX, creating a JavaFX IDE, and creating a JavaFX desktop. Secondly, he posted about fxpackager for JavaFX OSGi applications. [...]

  2. e(fx)clipse 0.8.0 released | Tomsondev Blog - January 6, 2013

    [...] can see this in action in an older blog post. You as a tooling user might not care about this but we’ve developed a small DSL allowing one [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 676 other followers

%d bloggers like this: