Eclipse can't load all bundles after upgraded to eclipse 4.10 [message #1800936] |
Thu, 10 January 2019 02:46  |
meng chao Messages: 8 Registered: January 2019 |
Junior Member |
|
|
After I upgraded the target platform of my product from eclipse4.3 to eclipse4.10, my product can't load all bundles in the plugins folder by default anymore, could you please tell me how to configure eclipse4.10 to load all bundles in the plugins folder by default except using org.eclipse.equinox.simpleconfigurator and bundles.info ?
When using eclipse4.3 as target platform, I can configure eclipse to load all bundles by default through configuring the following codes in config.ini:
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.equinox.ds@2:start,org.eclipse.core.runtime@start
but after I upgraded my target platform to eclipse4.10, it doesn't work anymore.
Thanks in advance,
Chao
[Updated on: Thu, 10 January 2019 04:02] Report message to a moderator
|
|
|
|
|
|
Re: Eclipse can't load all bundles after upgraded to eclipse 4.10 [message #1800976 is a reply to message #1800960] |
Thu, 10 January 2019 14:25   |
|
Generally OSGi only loads bundles that were explicitly specified (i.e., in the osgi.bundles property or via other means like the simpleconfigurator). The update.configurator was a bit of a hack and caused other bad behaviour such as updated or removed bundles being reloaded. The update.configurator behaviour was gutted due to bug 527783.
How are you building and assembling your app?
Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
|
|
|
|
Re: Eclipse can't load all bundles after upgraded to eclipse 4.10 [message #1801044 is a reply to message #1801010] |
Fri, 11 January 2019 15:53   |
|
I meant are you using Maven/Tycho, or PDE Build, or some other technology?
You could also consider using the org.eclipse.equinox.p2.reconciler.dropins bundle, which is like the org.eclipse.update.configurator but installs all bundles found in the dropins/ folder.
Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02323 seconds