Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362576

Summary: Error opening RUI editor with XULRunner as render engine
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P1 CC: chenzhh, jspadea, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Error message
none
Log none

Description broy2 CLA 2011-11-01 12:26:58 EDT
Created attachment 206273 [details]
Error message

Window > Preferences > EGL > Rich UI > Appearance
Select Mozilla XULRunner as render engine.
OK.
Open a RUIHandler.
Get error:  The editor could not complete the requested task, and may be out of resources or XULRunner is not configured correctly.  It is recommended that the editor be closed.

Screen shot attached.

On my laptop which is Eclipse 3,7, I also get an error in the log.
Log attached.
Comment 1 broy2 CLA 2011-11-01 12:28:41 EDT
Created attachment 206274 [details]
Log
Comment 2 Brian Svihovec CLA 2011-11-04 09:47:16 EDT
This is currently working as designed since you most likely do not have the XULRunner engine installed (you have to download and install the XULRunner runtime).  We are looking into being able to ship the XULRunner engine w/ EDT, but until then it will require a manual update to your configuration to use XULRunner.  The instructions for configuring your workspace are not difficult, but I will hold off on listing them here until we have determined if we will or will not be shipping XULRunner with EDT.
Comment 3 Yun Feng Ma CLA 2011-11-07 20:26:46 EST
Hi Brenda,

Did you config XULRunner for your EDT? if not, here is the step to config it:
1) Download XUNRuner from http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.1.19/runtimes/
2) Unzip the XUNRunner to a folder
3) Add below line to the -vmargs section in eclipse.ini
   -Dorg.eclipse.swt.browser.XULRunnerPath=PATH_TO_XULRunner
4) Start EDT
5) Open Window --> Preferences --> EGL --> Rich UI --> Appearance
    Make "Mozilla XULRunner" checked


Please see bug 362866, don't use quotes in your PATH_TO_XULRunner. Please reopen this if you still see the error. Thanks a lot.
Comment 4 broy2 CLA 2011-11-08 10:37:57 EST
Worked.