Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332917 - XULRunner path may not work for SWT browser
Summary: XULRunner path may not work for SWT browser
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.7 M5   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-19 21:39 EST by wuzhe CLA
Modified: 2010-12-20 12:39 EST (History)
2 users (show)

See Also:


Attachments
patch (969 bytes, application/octet-stream)
2010-12-19 21:47 EST, wuzhe CLA
no flags Details
applied patch (3.13 KB, patch)
2010-12-20 12:39 EST, Grant Gayed CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wuzhe CLA 2010-12-19 21:39:26 EST
Build Identifier: 3.4.2

If add -Dorg.eclipse.swt.browser.XULRunnerPath=${rcp.home}/rcp/eclipse/plugins/xulrunner in rcpinstall.properties. Because of the mix use of "/" and "\" in the XULRunnerpath, SWT browser is not able to find the XULRunner runtime. A simple test would be to create SWT browser instance with SWT.MOZILLA. This will lead to an exception in XPCOM. Suggested patch provided. Propose as an enhancement request. 

Reproducible: Always
Comment 1 wuzhe CLA 2010-12-19 21:47:46 EST
Created attachment 185514 [details]
patch

Patch.
Comment 2 Grant Gayed CLA 2010-12-20 12:38:50 EST
fixed > 20101220 (applied patch will be in next comment)
Comment 3 Grant Gayed CLA 2010-12-20 12:39:24 EST
Created attachment 185568 [details]
applied patch