|osgi.framework.extensions does not work with WebStart [message #1240490]
||Thu, 06 February 2014 15:40
| Paweł Doleciński
Registered: January 2014
I am trying to create WebStart for my Eclipse RCP application and need to add to osgi.framework.extensions addition Adaptor Hook from org.eclipse.fx.osgi and others.
I am doing like this in JNLP file:
<property name="osgi.framework.extensions" value="javax.transaction,org.eclipse.equinox.transforms.hook,org.eclipse.equinox.weaving.hook,org.eclipse.fx.osgi" />
Problem is that I am getting exception that bundle cannot be found.
After debugging I see that method readFrameworkExtensions() from org.eclipse.equinox.launcher.Main when looking for bundle is getting a path to jar file downloaded to local cache (e.g. C:\Users\pdolecinski\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\17\3bb97dd1-333be9ad). And later on, when trying to create extensionURL, it is using line code:
extensionURL = new URL(installLocation.getProtocol(), installLocation.getHost(), installLocation.getPort(), path);
where installLocation is http://localhost/webstart and created extensionURL looks like
Even more, let's say path would be correct, then code expect to find file with .jar extension and the one from cache doesn't have it.
I have no idea if there is some workaround which I do not know or it simply a bug.
Any ideas how to add something to osgi.framework.extensions under WebStart?
Powered by FUDForum
. Page generated in 0.02951 seconds