Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top