|
|
|
Re: Bundle configuration for an OSGi application [message #1817154 is a reply to message #1817150] |
Sat, 16 November 2019 10:34  |
Eclipse User |
|
|
|
Thank you very much for your helpful answers!
I agree that the forum on PDE-related questions would indeed be a better fit for this topic. My apologies.
Right now, my primary goal is not to build an explicitly small Java application. I am rather trying to develop an understanding of how Eclipse plug-in development works from the ground up. This is why I am a little bit confused with the "magic" that happens during the launch of an OSGi application.
Ed Merks wrote on Sat, 16 November 2019 06:43If you don't want the sources (you certainly won't need them in the runtime launch), you could filter for those, and deselect them.
Unfortunately, the "sources" bundles are not listed in the "Bundles" tab of Run Configuration dialog. Is there maybe another location that I need to check?
Ed Willink wrote on Sat, 16 November 2019 08:40If you really want OSGI, then you can use the show the plugin dependency hierarchy on the Dependencies tab of the MANIFEST.MF editor to see all the dependents of each plugin you specify. It looks as if you have chosen some with perhaps rather bloated dependencies. Try specifying just what you need.
Thank you for the hint. Taking a look at the plug-in dependency hierarchy of the "my.hello" bundle, I can see that the only listed dependency is "org.eclipse.osgi", which itself has a dependency on "org.eclipse.osgi.compatibility.state". Nevertheless, the "Add Required Bundles" button adds a large number of bundles to the run. Do you have any idea where Eclipse might get them from?
|
|
|
Powered by
FUDForum. Page generated in 0.04065 seconds