Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Fooling Equinox......
Fooling Equinox...... [message #1448638] Mon, 20 October 2014 08:14
Mouhammad Khier Abdoh is currently offline Mouhammad Khier AbdohFriend
Messages: 11
Registered: September 2014
Junior Member
So for the last 6 months i have been working on JavaFx and OSGI (Equinox), but as separated Projects, and i have come to the point where i need to integrate these two techs together, so i have tried the two e(fx)clipse brilliant wizards
1- OSGI Application Project
2- OSGI Bundle Project
as a solution for this dilemma and i have come to this (feel obligated to correct me if wrong Twisted Evil Twisted Evil ) :

1- for the first wizard it is generating four projects which MR. Tom Schindl had explained in his blog, but when i looked at the Run Configuration of the launch i realized that it is running as an Eclipse Application index.php/fa/19589/0/, (and i need to start my system as an OSGI Framework), and notice this, there is a plug-in dependencies which looks like this index.php/fa/19590/0/, and the main class is extending an AbstractJFXApplication class and using an jfxStart method (not a standard JavaFX App)!!!! index.php/fa/19591/0/.
2- for the second wizard the generated project has the same structure as an plug-in development project (I SUPPOSE) adding the plug-in dependencies that looks like this index.php/fa/19592/0/.
Now i am using (eclipse-SDK-4.4-linux-gtk-x86_64-efx-1.0.0-SNAPSHOT) as a development Platform, when i try to run the second wizard generated project after adding simple stage-scene-anchorpane code to it , it works as a stand alone jar,BUT when i try to fire the whole system with Equinox System Bundle as an OSGI Framework i have errors regarding equinox not finding certain JavaFx Dependencies.

Now i kinda have a hint that Oracle didn't added the ((((JavaFx to the JRE Class-path)))) So Equinox Can't see it in run-time, and that led MR. Tom to develop those two wizards and using an adapter Hook to fool equinox.
and i need to develop Plug-in projects (Bundles) and have JavaFx Code in some of them, so the Questions that arises are:
Do i need to add the same Plug-in dependencies as in the first wizard? and HOW?
Any Thoughts Or Ideas are most and very welcome, any guidness or tutorials are most appreciated.
Thanks a lot.
PS: if you are going to guide me to e4 apps, please explain Why and How? because i have a very bad experience with it, and the already done part of my project is written as plug-in development.
  • Attachment: image(1).png
    (Size: 197.29KB, Downloaded 325 times)
  • Attachment: image(2).png
    (Size: 134.32KB, Downloaded 334 times)
  • Attachment: image(3).png
    (Size: 143.47KB, Downloaded 356 times)
  • Attachment: image(4).png
    (Size: 102.35KB, Downloaded 363 times)
Previous Topic:P2 disable "Installed Software" and "Installation History" tabs
Next Topic:Equinox hooks removed in Luna
Goto Forum:

Current Time: Thu Oct 21 09:17:43 GMT 2021

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

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

Back to the top