Show jarred content using internal browser [message #637956] |
Tue, 09 November 2010 08:14  |
Eclipse User |
|
|
|
Hi,
we have a view that shows some html/css/png content
which is shipped inside the plug-in.
When the plug-in is unpacked during install the
internal browser is happy, however, as unpacking
plug-ins is deprecated I'm looking for ways how the
browser can display content directly from the jarred
plug-in.
Initially, I have a URL like this:
bundleentry://405.fwk29293232/guide/otjld/xdef/index.html
Previously we converted this using
resulting in s.t. like
file:jar:pathtoplugin.jar!/guide/otjld/xdef/index.html
which doesn't work in the internal browser.
I then tried
FileLocator.toFileURL(url)
which nicely converts the url to some cache location
in the filesystem.
However, any relative URLs within that initial HTML
fail because those files have not been extracted
(included css and png).
Is there a way to let the internal browser see all the
files in the jarred plug-in?
TIA
Stephan
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07608 seconds