Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Eclipse + Tycho + Maven + OSGI + Java FX + Java >= 11?(Find a solution that works)
Eclipse + Tycho + Maven + OSGI + Java FX + Java >= 11? [message #1814077] Tue, 03 September 2019 06:45 Go to next message
Thomas Lehmann is currently offline Thomas LehmannFriend
Messages: 6
Registered: August 2019
Junior Member
Hi,

I'll start posting the link to a Github project under MIT license:
https://github.com/StegmannSystems/rcp.demo

Content:
It's a demo project for a Eclipse E4 RCP Project generating packages
for Windows, Linux und Mac OSX in one go using OpenJDK 11 and Maven 3.6.1
(Eclipse 4.12, Tycho Version is 1.4.0)

Seeking a solution:
What I'm searching for is a solution on how to extend the project that it also supporting Java FX. I know there are some forum entries talking about it but I don't see a solution nor documentation explaining in depth how this should be done.

Of course I found that url:
http://downloads.efxclipse.bestsolution.at/p2-repos/openjfx-11/repository

When trying to selection FX for a feature I'm getting the libraries for Windows only and that will not work for the other environments. In my parent pom I define one target platform definition and below 3 environments.

Any ideas how this should be organized?

Please feel free to contribute to the demo project but please:

  • Ensure that the quickstart always works as shown.
  • Ensure that the build (Travis CI) finally gets green (see badge).
  • Ensure that the code analyse badges remain near value "A"


Kind regards,
Thomas
Re: Eclipse + Tycho + Maven + OSGI + Java FX + Java >= 11? [message #1814165 is a reply to message #1814077] Thu, 05 September 2019 08:17 Go to previous messageGo to next message
Thomas Lehmann is currently offline Thomas LehmannFriend
Messages: 6
Registered: August 2019
Junior Member
Hi,

Giving you a further start I provided a pull request: https://github.com/StegmannSystems/rcp.demo/pull/2
In this branch I did the implementation for Windows only.
The UI provides a tab with a WebView displaying the Google search.
The crashing of the application - when trying to search - might be related to the OpenJfx.

You can easily see the changes I did (please ignore the header of the files
since I missed to adjust them to MIT; will do that on git master as well soon)

I have not yet managed to extend the Travis CI build to also include OpenJfx.

Any help from your side is appreciated.

Kind Regards,
Thomas
Re: Eclipse + Tycho + Maven + OSGI + Java FX + Java >= 11? [message #1814209 is a reply to message #1814165] Thu, 05 September 2019 16:25 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The crash might have something to do with data urls - i hope to find the time to look into your sample early next week.
Re: Eclipse + Tycho + Maven + OSGI + Java FX + Java >= 11? [message #1814728 is a reply to message #1814209] Tue, 17 September 2019 07:46 Go to previous message
Thomas Lehmann is currently offline Thomas LehmannFriend
Messages: 6
Registered: August 2019
Junior Member
Any news?
Previous Topic:Contributing menus via model fragments
Next Topic:Dialogs in JavaFX
Goto Forum:
  


Current Time: Thu Dec 05 15:51:31 GMT 2024

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

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

Back to the top