Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Create an e4 application with Tutorial 4
Create an e4 application with Tutorial 4 [message #1807955] Thu, 13 June 2019 07:34 Go to next message
Nicolas De Amicis is currently offline Nicolas De AmicisFriend
Messages: 19
Registered: February 2014
Junior Member
Hello, I'm evaluating the e4 application with JavaFX OSGi. I follow the tutorial 4 https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4 but I have some problem to compile. It seems to be an old tutorial (java 7, now I use java 8) and the project structure generated with the wizard (Eclipse 2019-03, efxclipse 3.5.x) isn't compilable...
It's always maintained? Someone can help me?
For example, the default manifest.mf contains default Require-Bundle, but some bundles can't be resolved, my target runtime isn't correctly configured? or it's old bundles (not needed anyway or renamed)?
org.eclipse.fx.ui.workbench.fx,
org.eclipse.fx.ui.theme,
org.eclipse.fx.ui.di,
org.eclipse.fx.ui.databinding,
org.eclipse.fx.ui.services

I followed the presentation in Zurich of Tom Schindl last November in the JavaFX Days and I was very interested in this product but the documentation gives the impression of draft. In case of problems, we do not know if it's due to a bug, an old documentation, a library not up to date (nightly!). Learning becomes difficult.
Re: Create an e4 application with Tutorial 4 [message #1807979 is a reply to message #1807955] Thu, 13 June 2019 15:01 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Let's take a look at the problems/questions one by one:
* First off all everything in the tutorial still is correct (although it was created back in the days of Java-7 :-)
* If you get resolve errors this means you have not setup the target-platform correctly all bundles you mention are in the target-platform and should resolve
* On the out-dated remark - you are right but we simply don't have the cycles to work on all that - we/I fully understand that this gives a wrong impression but I'm unable to change that in the short/mid-term
* Is the project production ready - absolutely there are many large scale applications built (> 10 millions budget) and as you see on github we are actively maintaining and extending the framework

I'm not sure from what background you are. If you have experience with e4 on SWT all knowledge should be directly transferable to "e4 on JavaFX".
Re: Create an e4 application with Tutorial 4 [message #1808034 is a reply to message #1807979] Fri, 14 June 2019 08:31 Go to previous messageGo to next message
Nicolas De Amicis is currently offline Nicolas De AmicisFriend
Messages: 19
Registered: February 2014
Junior Member
Hello Thomas, thanks for answer.
I'm a newbie in OSGi and e4. I will use equinox for modularizing our server applications and use e4 on JavaFX for the same things for the desktop. As I use Java 8 (and in the future Java 11), the documentation for Java 7 don't really help me.
I agree with you, I think my problem is that the target-platform isn't correctly configured. I have added nightly repo (https://download.eclipse.org/efxclipse/runtime-nightly/site/) in my eclipse (2019-03 with e(fx)clipse 3.5.0.20190220800) and I have installed Target Platform features like the tutorial. See my installation details here https://send.firefox.com/download/7315ff046938e189/#t0zRhtKgWFYVIO__mLRjGQ. Could you help me? or explain/redirect to a documentation for basic target-platform configuration?
Re: Create an e4 application with Tutorial 4 [message #1808040 is a reply to message #1808034] Fri, 14 June 2019 11:56 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Show me a screenshot with the target platform
Re: Create an e4 application with Tutorial 4 [message #1808044 is a reply to message #1808040] Fri, 14 June 2019 12:44 Go to previous messageGo to next message
Nicolas De Amicis is currently offline Nicolas De AmicisFriend
Messages: 19
Registered: February 2014
Junior Member
What would you like to see?
https://send.firefox.com/download/e0abd858bd9380ae/#uxME4oPFAbh9heyvqnxmTg
https://send.firefox.com/download/d8d4ce5bdf3b4914/#hqkJXM9VdRFIaetpnN2irw
Re: Create an e4 application with Tutorial 4 [message #1808057 is a reply to message #1808044] Sat, 15 June 2019 08:22 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
So you did NOT setup a target platform because you point still to the your ide one!
Re: Create an e4 application with Tutorial 4 [message #1808140 is a reply to message #1808057] Tue, 18 June 2019 06:41 Go to previous messageGo to next message
Nicolas De Amicis is currently offline Nicolas De AmicisFriend
Messages: 19
Registered: February 2014
Junior Member
Yes, you are right. Another question, what is the advantage of using "JavaFX e4 Application" instead of "JavaFX OSGi Application"? I'm newbie with e4, and I will only a modular JavaFX application.
Re: Create an e4 application with Tutorial 4 [message #1808348 is a reply to message #1808140] Fri, 21 June 2019 19:26 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Well it depends a "JavaFX OSGi Application" does not have all the features you get from e4 (like the Application-Model, Command-Handler-Framework, ...) so it is more bare bone
Previous Topic:Splash cannot disappear when the application is launched
Next Topic:Generate JavaFX Getters and Setters fails with exception
Goto Forum:
  


Current Time: Tue Apr 23 12:58:09 GMT 2024

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

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

Back to the top