Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » efx e4 RCP app won't start once packaged as my.app
efx e4 RCP app won't start once packaged as my.app [message #1826854] Sat, 02 May 2020 16:34 Go to next message
Stephane  fournier is currently offline Stephane fournierFriend
Messages: 340
Registered: July 2009
Senior Member
Hi,

I'm just running a dummy app based on e4 + EFX on macOS.
Everything runs smoothly from a product launched from the IDE.
I exported the app from the IDE with cross platforms options.

Running built apps from win10 and linux is OK.
When running from macOS (double click on myApp.app), the app starts I can see the splash screen but the app is blocked as a dead lock somewhere between JavaFX thread and main thread.

With a shell run.sh pointing to the content of myApp.app is also OK.

I payed attention in the product config to not check -XstartOnFirstThread option but the symptoms seem quite similar if run from the IDE with this option checked.

Does anyone experience the same issue on macOS ?

Running on a target platform based on modeling 2018-09 + EFX 3.6.2

Thanks,
Stéphane
Re: efx e4 RCP app won't start once packaged as my.app [message #1826936 is a reply to message #1826854] Mon, 04 May 2020 22:24 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Well if you want a splash you need to use another launching application - I can't remember it put if you look into the dropdown in the product file you should spot it immediately
Re: efx e4 RCP app won't start once packaged as my.app [message #1826992 is a reply to message #1826936] Tue, 05 May 2020 19:58 Go to previous message
Stephane  fournier is currently offline Stephane fournierFriend
Messages: 340
Registered: July 2009
Senior Member
Than you very much Tom for the tip :-)

It is this class E4MainThreadApplication instead of the standard E4Application
/**
* An E4Application who assumes to be launched at the same thread as the
* OSGi-Launcher
*/

Then I'm extending this one and now it runs.

Thomas Schindl wrote on Tue, 05 May 2020 00:24
Well if you want a splash you need to use another launching application - I can't remember it put if you look into the dropdown in the product file you should spot it immediately

Previous Topic:How to expand the sample maven application?
Next Topic:FXCanvas looks blurry on HiDPI
Goto Forum:
  


Current Time: Fri Dec 13 22:01:32 GMT 2024

Powered by FUDForum. Page generated in 0.03250 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top