I need to ship a specific version (1.8.1.3) of XulRunner with my SWT app. My current plan is to detect the current platform and download XulRunner to the app data path of that platform. That's no problem, but to what file in that am I supposed to set the XulRunnerPath property to?

有帮助吗?

解决方案

Make sure you include it in build.properties. I would suggest you to create a fragment for the SWT like how SWT does it for each platform. You need to set System property org.eclipse.swt.browser.XULRunnerPath to the dll. Please refer to

org.eclipse.swt.browser.Mozilla
static void LoadLibraries () {---}

Fragment: http://wiki.eclipse.org/FAQ_What_is_a_plug-in_fragment%3F

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top