Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Missing OSGi-Bundle Dependencies(Missing Dependencies when trying to set up an OSGi Application Project)
Missing OSGi-Bundle Dependencies [message #1094953] Mon, 26 August 2013 12:39 Go to next message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 81
Registered: July 2009
Member
What I have done so far:

- installed e(fx)clipse using 4.3 (full Kepler install)

Project Set-Up:

- create project via wizard
- un-check tycho build (no infrastructure for that available)
- check Eclipse DI
- check Native packaging

The projects <package-prefix>.app[.*] are created and I'm already receiving the following errors in the Manifest:

Bundle 'org.eclipse.fx.core.databinding' cannot be resolved
Bundle 'org.eclipse.fx.ui.databinding' cannot be resolved
Bundle 'org.eclipse.fx.ui.di' cannot be resolved

Maybe I should mention, that I miss the whole 'org.eclipse.fx.ui'-bundle structure. Other Bundles of the 'org.eclipse.fx'-tree are accessible.

Anyone encountered something like this, too? Would be nice, if this could be solved, because I would have liked to start a new side project in my company using a) JavaFX (not a big deal, I could do this as a standalone app) and b) using OSGi (this would be great because of the extensability - then I could do a small plugin-based OSGi-app (we don't need the whole e4 capabilities, as far as I can tell).

Thanks and greetings,
Daniel
Re: Missing OSGi-Bundle Dependencies [message #1094962 is a reply to message #1094953] Mon, 26 August 2013 12:55 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You need to setup a target platform! We install only the most necessary
bundles into the IDE so that the tooling works!

Setting up a target platform is explained e.g. in
http://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4.

I strongly advice you to generate the tycho-poms because you somehow
have to export/build your application and maven-tycho is the easiest of
those. I think we should also disable the native packaging if you are
not generating poms.

You don't need any infrastructure BTW because maven is already part of
the prepackaged distro because it holds m2e.

Tom

On 26.08.13 14:39, Daniel Zimmermann wrote:
> What I have done so far:
>
> - installed e(fx)clipse using 4.3 (full Kepler install)
>
> Project Set-Up:
>
> - create project via wizard
> - un-check tycho build (no infrastructure for that available)
> - check Eclipse DI
> - check Native packaging
>
> The projects <package-prefix>.app[.*] are created and I'm already
> receiving the following errors in the Manifest:
>
> Bundle 'org.eclipse.fx.core.databinding' cannot be resolved
> Bundle 'org.eclipse.fx.ui.databinding' cannot be resolved
> Bundle 'org.eclipse.fx.ui.di' cannot be resolved
>
> Maybe I should mention, that I miss the whole 'org.eclipse.fx.ui'-bundle
> structure. Other Bundles of the 'org.eclipse.fx'-tree are accessible.
>
> Anyone encountered something like this, too? Would be nice, if this
> could be solved, because I would have liked to start a new side project
> in my company using a) JavaFX (not a big deal, I could do this as a
> standalone app) and b) using OSGi (this would be great because of the
> extensability - then I could do a small plugin-based OSGi-app (we don't
> need the whole e4 capabilities, as far as I can tell).
>
> Thanks and greetings,
> Daniel
Re: Missing OSGi-Bundle Dependencies [message #1094972 is a reply to message #1094962] Mon, 26 August 2013 13:16 Go to previous messageGo to next message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 81
Registered: July 2009
Member
Hi Tom and thanks for the quick reply!
It's only 8 month when I did my last Eclipse Plug-In development, but I already forgot that tiny little detail...

I wanted to avoid the pre-configured IDE, since I a) came to hate 4.2 and its bugs (it forgot or mixed my menus, toolbars and became unbearable over time), also I don't want to switch between the IDEs all the time. And I still don't use Java 8, so I guess I don't need the updated JDT right now (But I will avoid the JavaFX-Builders, since they will be deprecated as of Java 8 as I read today on fxexperience.com).

Can I install the Target Platform from the same update site, as the IDEs helpers.

Thank you very much again!
Daniel

PS: Greetings from Switzerland Wink

PPS: The page you linked is empty - at least for me...
Re: Missing OSGi-Bundle Dependencies [message #1095069 is a reply to message #1094972] Mon, 26 August 2013 15:23 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The target platform is provided under
http://download.eclipse.org/efxclipse/runtime-nightly/site and a zip
version as well at
http://download.eclipse.org/efxclipse/runtime-nightly/site.zip - we have
a kepler prebuilt SDK as well at
http://downloads.efxclipse.org/eclipse.org/sdks/nightly/.

Not sure for me http://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4
works as expected.

Tom

On 26.08.13 15:16, Daniel Zimmermann wrote:
> Hi Tom and thanks for the quick reply! It's only 8 month when I did my
> last Eclipse Plug-In development, but I already forgot that tiny little
> detail...
>
> I wanted to avoid the pre-configured IDE, since I a) came to hate 4.2
> and its bugs (it forgot or mixed my menus, toolbars and became
> unbearable over time), also I don't want to switch between the IDEs all
> the time. And I still don't use Java 8, so I guess I don't need the
> updated JDT right now (But I will avoid the JavaFX-Builders, since they
> will be deprecated as of Java 8 as I read today on fxexperience.com).
>
> Can I install the Target Platform from the same update site, as the IDEs
> helpers.
>
> Thank you very much again!
> Daniel
>
> PS: Greetings from Switzerland ;)
>
> PPS: The page you linked is empty - at least for me...
Re: Missing OSGi-Bundle Dependencies [message #1095569 is a reply to message #1095069] Tue, 27 August 2013 08:24 Go to previous messageGo to next message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 81
Registered: July 2009
Member
Hi Tom,

this worked. Thank you.
But it is really strange: I checked the page yesterday at home, too. It was still empty. But I just recognized the problem: I just clicked the link you gave me in your first reply and there the Dot "." was included in the URL - this caused the browser to navigate to the wrong page. :-/
My fault not checking this earlier!

Thanks for your help and patience,
Daniel
Re: Missing OSGi-Bundle Dependencies [message #1714971 is a reply to message #1094953] Wed, 18 November 2015 07:41 Go to previous messageGo to next message
DaveLaw Missing name is currently offline DaveLaw Missing nameFriend
Messages: 6
Registered: October 2015
Junior Member
2 and a half years on & this problem is still (or is once more) current. Sad
I've just spent several hours trying out all sorts of combinations of releases & nightly builds & still bundles are missing.
Even the pre-built SDK...
httXXXp://downloads.efxclipsXXXe.oXXXrg/eclipsXXXe.oXXXrg/sdks/nightly/eclipsXXXe-SDK-4.5.1-win32-x86_64-distro-2.2.0-SNAPSHOT.zip
(XXX added because of "You can only use links to eclipse.org sites while you have fewer than 5 messages")
...does not work out of the box. And even after installing more stuff from the nightly update site & having a clean build, it crashes at runtime with a ClassCastException.
Its a mess.
The installation guides are out of date & inaccurate/vague.
I suggest someone sits down & writes a posting...
"How to get the e(fx)clipse Sample e4Media Application working with Eclipse Mars v4.5.1"
Starting from which Eclipse Package (SDK, RCP RAP, etc.) we need to know step-for-step what to do, in particular EXACTLY which update sites are necessary, preferably NOT nightly builds & exactly which components are required.
Re: Missing OSGi-Bundle Dependencies [message #1714975 is a reply to message #1714971] Wed, 18 November 2015 08:59 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

I sorry that you are so upset but I'm glad you found your way to the
forum telling us that something is messed up or not documented good enough.

Your description of what does not work doesn't really help me to get
things fixed. If you used the all in-one-build what did you have to post
install to get the media sample working?

You are talking about a class-cast exception but don't at least give us
a stacktrace. I hope you have not tried to install the
runtime-components into your IDE.

I just tried the media example and used:
* the 4.5.1 all-in-one release from http://efxclipse.bestsolution.at

* defined a target platform as described in
https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial3 (i used
http://download.eclipse.org/efxclipse/runtime-released/2.1.0/site as the
target)

* create the media example and launched it with the generated .launch-File

While giving this a shot I also created a bug entry
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=482450) for the media
sample because the generated feature.xml is not accurate still the
application launches fine.

So you request us to update our docu. Then please help us to make
efxclipse a pleasant experience but for that we need your input.

If you want a description on installing e(fx)clipse tooling in a plain
SDK you should be able to do that with the description at
https://www.eclipse.org/efxclipse/install.html which i tried with a
plain Eclipse 4.5.1 install and that worked as well.

Final note on the media sample. If you really want to write a e4 JavaFX
application don't start with the media sample. Start with
https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4

Tom

On 18.11.15 08:41, DaveLaw Mising name wrote:
> 2 and a half years on & this problem is still (or is once more)
> current. :(
> I've just spent several hours trying out all sorts of combinations of
> releases & nightly builds & still bundles are missing.
> Even the pre-built SDK...
> httXXXp://downloads.efxclipsXXXe.oXXXrg/eclipsXXXe.oXXXrg/sdks/nightly/eclipsXXXe-SDK-4.5.1-win32-x86_64-distro-2.2.0-SNAPSHOT.zip
>
> (XXX added because of "You can only use links to eclipse.org sites while
> you have fewer than 5 messages")
> ..does not work out of the box. And even after installing more stuff
> from the nightly update site & having a clean build, it crashes at
> runtime with a ClassCastException.
> Its a mess.
> The installation guides are out of date & inaccurate/vague.
> I suggest someone sits down & writes a posting...
> "How to get the e(fx)clipse Sample e4Media Application working with
> Eclipse Mars v4.5.1"
> Starting from which Eclipse Package (SDK, RCP RAP, etc.) we need to know
> step-for-step what to do, in particular EXACTLY which update sites are
> necessary, preferably NOT nightly builds & exactly which components are
> required.
Re: Missing OSGi-Bundle Dependencies [message #1742009 is a reply to message #1094953] Mon, 26 August 2013 12:55 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You need to setup a target platform! We install only the most necessary
bundles into the IDE so that the tooling works!

Setting up a target platform is explained e.g. in
http://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4.

I strongly advice you to generate the tycho-poms because you somehow
have to export/build your application and maven-tycho is the easiest of
those. I think we should also disable the native packaging if you are
not generating poms.

You don't need any infrastructure BTW because maven is already part of
the prepackaged distro because it holds m2e.

Tom

On 26.08.13 14:39, Daniel Zimmermann wrote:
> What I have done so far:
>
> - installed e(fx)clipse using 4.3 (full Kepler install)
>
> Project Set-Up:
>
> - create project via wizard
> - un-check tycho build (no infrastructure for that available)
> - check Eclipse DI
> - check Native packaging
>
> The projects <package-prefix>.app[.*] are created and I'm already
> receiving the following errors in the Manifest:
>
> Bundle 'org.eclipse.fx.core.databinding' cannot be resolved
> Bundle 'org.eclipse.fx.ui.databinding' cannot be resolved
> Bundle 'org.eclipse.fx.ui.di' cannot be resolved
>
> Maybe I should mention, that I miss the whole 'org.eclipse.fx.ui'-bundle
> structure. Other Bundles of the 'org.eclipse.fx'-tree are accessible.
>
> Anyone encountered something like this, too? Would be nice, if this
> could be solved, because I would have liked to start a new side project
> in my company using a) JavaFX (not a big deal, I could do this as a
> standalone app) and b) using OSGi (this would be great because of the
> extensability - then I could do a small plugin-based OSGi-app (we don't
> need the whole e4 capabilities, as far as I can tell).
>
> Thanks and greetings,
> Daniel
Re: Missing OSGi-Bundle Dependencies [message #1742010 is a reply to message #1094962] Mon, 26 August 2013 13:16 Go to previous messageGo to next message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 81
Registered: July 2009
Member
Hi Tom and thanks for the quick reply!
It's only 8 month when I did my last Eclipse Plug-In development, but I already forgot that tiny little detail...

I wanted to avoid the pre-configured IDE, since I a) came to hate 4.2 and its bugs (it forgot or mixed my menus, toolbars and became unbearable over time), also I don't want to switch between the IDEs all the time. And I still don't use Java 8, so I guess I don't need the updated JDT right now (But I will avoid the JavaFX-Builders, since they will be deprecated as of Java 8 as I read today on fxexperience.com).

Can I install the Target Platform from the same update site, as the IDEs helpers.

Thank you very much again!
Daniel

PS: Greetings from Switzerland ;)

PPS: The page you linked is empty - at least for me...
Re: Missing OSGi-Bundle Dependencies [message #1742011 is a reply to message #1742010] Mon, 26 August 2013 15:23 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The target platform is provided under
http://download.eclipse.org/efxclipse/runtime-nightly/site and a zip
version as well at
http://download.eclipse.org/efxclipse/runtime-nightly/site.zip - we have
a kepler prebuilt SDK as well at
http://downloads.efxclipse.org/eclipse.org/sdks/nightly/.

Not sure for me http://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial4
works as expected.

Tom

On 26.08.13 15:16, Daniel Zimmermann wrote:
> Hi Tom and thanks for the quick reply! It's only 8 month when I did my
> last Eclipse Plug-In development, but I already forgot that tiny little
> detail...
>
> I wanted to avoid the pre-configured IDE, since I a) came to hate 4.2
> and its bugs (it forgot or mixed my menus, toolbars and became
> unbearable over time), also I don't want to switch between the IDEs all
> the time. And I still don't use Java 8, so I guess I don't need the
> updated JDT right now (But I will avoid the JavaFX-Builders, since they
> will be deprecated as of Java 8 as I read today on fxexperience.com).
>
> Can I install the Target Platform from the same update site, as the IDEs
> helpers.
>
> Thank you very much again!
> Daniel
>
> PS: Greetings from Switzerland ;)
>
> PPS: The page you linked is empty - at least for me...
Re: Missing OSGi-Bundle Dependencies [message #1742013 is a reply to message #1095069] Tue, 27 August 2013 08:24 Go to previous messageGo to next message
Daniel Zimmermann is currently offline Daniel ZimmermannFriend
Messages: 81
Registered: July 2009
Member
Hi Tom,

this worked. Thank you.
But it is really strange: I checked the page yesterday at home, too. It was still empty. But I just recognized the problem: I just clicked the link you gave me in your first reply and there the Dot "." was included in the URL - this caused the browser to navigate to the wrong page. :-/
My fault not checking this earlier!

Thanks for your help and patience,
Daniel
Re: Missing OSGi-Bundle Dependencies [message #1863464] Sat, 03 February 2024 10:29 Go to previous message
Eclipse UserFriend
555
Previous Topic:New FXML Document with updating
Next Topic:Unable to create New FXML Document and error build.fxbuild
Goto Forum:
  


Current Time: Sat Dec 14 00:05:13 GMT 2024

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

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

Back to the top