<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Gareth Jones - Latest Comments in SWT browser widgets and local plugin files</title><link>http://garethj.disqus.com/</link><description></description><atom:link href="https://garethj.disqus.com/swt_browser_widgets_and_local_plugin_files/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 27 Jul 2009 05:39:26 -0000</lastBuildDate><item><title>Re: SWT browser widgets and local plugin files</title><link>http://blog.garethj.com/2008/03/11/swt-browser-widgets-and-local-plugin-files/#comment-13379120</link><description>&lt;p&gt;Hi Gareth,&lt;/p&gt;&lt;p&gt;Thank you very much for your response. But I could not find anything in my plugin.xml (Guessing that Chris' feature.xml is my plugin.xml) to unpack the jar during install. I guess the problem for not displaying the image in html files is that the html file is read to cache by toFileURL() method and the file contents are read and its not able to find the image there. I have to fix it somehow as the dead line is nearby. Anyways, please let me know if you find out any way to sort out this problem.&lt;br&gt;Thanks,&lt;br&gt;Rupa&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rupa</dc:creator><pubDate>Mon, 27 Jul 2009 05:39:26 -0000</pubDate></item><item><title>Re: SWT browser widgets and local plugin files</title><link>http://blog.garethj.com/2008/03/11/swt-browser-widgets-and-local-plugin-files/#comment-13378085</link><description>&lt;p&gt;Hi Rupa,&lt;/p&gt;&lt;p&gt;Unfortunately I've not done this myself but it appears from Chris' comments above that he did. Sounds like you need to tick the option that unpacks your plugin when installed (in feature.xml). I assume this means that it unzip the installed JAR file rather than leaving it in the eclipse directory as-is. Good luck!&lt;/p&gt;&lt;p&gt;Gareth&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gareth Jones</dc:creator><pubDate>Mon, 27 Jul 2009 04:36:35 -0000</pubDate></item><item><title>Re: SWT browser widgets and local plugin files</title><link>http://blog.garethj.com/2008/03/11/swt-browser-widgets-and-local-plugin-files/#comment-13263974</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have a plugin in which the html files are bundled. I followed your steps and could open the html file through plugin jar. But there are some images embedded in those html files which are not showing up. I couldnt get the concept of packing and unpacking which you have told in your previous comment. Please suggest me how to get images in the html file.&lt;/p&gt;&lt;p&gt;Thanks and Regards,&lt;br&gt;Rupa&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rupa</dc:creator><pubDate>Fri, 24 Jul 2009 06:49:32 -0000</pubDate></item><item><title>Re: SWT browser widgets and local plugin files</title><link>http://blog.garethj.com/2008/03/11/swt-browser-widgets-and-local-plugin-files/#comment-2795497</link><description>&lt;p&gt;Hi Chris, looks like you answered yourself several times before I got the chance :)&lt;/p&gt;&lt;p&gt;Will be useful info for anyone else that has the same issue (and me if I need to do it) so thanks for posting up the answer.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gareth Jones</dc:creator><pubDate>Thu, 02 Oct 2008 04:37:27 -0000</pubDate></item><item><title>Re: SWT browser widgets and local plugin files</title><link>http://blog.garethj.com/2008/03/11/swt-browser-widgets-and-local-plugin-files/#comment-2795408</link><description>&lt;p&gt;Hopefully my last comment on the matter.&lt;/p&gt;&lt;p&gt;I was close but one extra step was needed.  The feature that held my HTML needed to be unpacked (tick the box in feature.xml to say it should be unpacked when installed) - then the base tag worked.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Thu, 02 Oct 2008 04:14:27 -0000</pubDate></item><item><title>Re: SWT browser widgets and local plugin files</title><link>http://blog.garethj.com/2008/03/11/swt-browser-widgets-and-local-plugin-files/#comment-2784760</link><description>&lt;p&gt;Oops.  Spoke too soon.  Worked when run inside Eclipse.  Didn't once exported (even though the base URL looks right).  Still looking for clues.  Anybody?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Wed, 01 Oct 2008 14:18:41 -0000</pubDate></item><item><title>Re: SWT browser widgets and local plugin files</title><link>http://blog.garethj.com/2008/03/11/swt-browser-widgets-and-local-plugin-files/#comment-2784602</link><description>&lt;p&gt;No need to reply as I seem to have found it.  Thought I'd post it here in case anybody else is wondering the same thing.&lt;/p&gt;&lt;p&gt;The key was in the following post:&lt;br&gt;    &lt;a href="http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg20242.html" rel="nofollow noopener" target="_blank" title="http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg20242.html"&gt;http://dev.eclipse.org/news...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This meant I had to read in the initial HTML file and replace a marker with the actual base url within the plugin (which I had retrieved using the method above) and all went swimmingly!  Thanks for posting this and giving me a clue in the first place!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Wed, 01 Oct 2008 14:08:04 -0000</pubDate></item><item><title>Re: SWT browser widgets and local plugin files</title><link>http://blog.garethj.com/2008/03/11/swt-browser-widgets-and-local-plugin-files/#comment-2783512</link><description>&lt;p&gt;Hi Gareth,  Thanks for this, it's just helped me to do exactly what I wanted to do in an RCP application - have it open with a welcome page with some static content and an iframe for the latest news etc..  However, when I export the application to create a download, the welcome page comes up but with all the images missing.  Obviously they aren't part of index.html.   Have you come across this?  And, if so, do you know how to solve it?  Any pointers you can offer me would be gratefully received as I don't have much time to get this done!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Wed, 01 Oct 2008 13:02:24 -0000</pubDate></item></channel></rss>