Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top