Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Webkitgtk and BIRT(How to use explicitly webkitgtk)
Webkitgtk and BIRT [message #1396498] Tue, 08 July 2014 11:37
Ben Engbers is currently offline Ben Engbers
Messages: 11
Registered: July 2009
Junior Member
I use Eclipse Juno on fedora 18

Even after installing webkitgtk, webkitgtk-devel, webkitgtk3, webkitgtk3-devel, starting eclipse with command-line parameter -Dorg.eclipse.swt.browser.DefaultType=webkit, each time I want to preview a report that is created with BIRT, I get the following error:
Unhandled event loop exception
No more handles [Could not detect registered XULRunner to use]


I have added the following lines to eclips.ini:
-Dorg.eclipse.swt.browser.DefaultType=webkit
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
# -Dorg.eclipse.swt.browser.DefaultType=mozilla
# -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner


When commenting the first 2 of these lines and uncommenting the last ones, I get this error:
Unhandled event loop exception XPCOM error  


I have read the SWT-faq and have seen that Browser instances should be created with SWT.WEBKIT but since I can't find where I should add this, I assume that this is an instruction for RCP-applications with a browser.

My question is how to use explicitly webkitgtk in Eclipse juno?

Thanks,
Ben
Previous Topic:Inconsistent table height behavior
Next Topic:Why Display.addFilter doesn't works with hotkeys?
Goto Forum:
  


Current Time: Thu Oct 02 00:37:47 GMT 2014

Powered by FUDForum. Page generated in 0.01443 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software