|Export to Multiple Platforms [message #523636]
||Sat, 27 March 2010 18:52
| TJ Willis
Registered: March 2010
Hi. This is my first time exporting a plugin. I used Eclipse 3.5 on a 64-bit machine to develop a nifty RCP application, and spent the last solid day getting it to deploy correctly via Java Web Start. Then, I walked over to a 32-bit machine, tried it, and it didn't work. The first exception I get is a about having the wrong native SWT.|
I eventually want the application to run on every possible platform and I'd prefer not to have separate wrapper features for each platform.
According to the SWT site, I need to make a swt-win32-windows-x86.jar and put something like
<resources os="Windows" arch="x86">
<jar href="platforms/swt-win32-windows-x86.jar" />
in my JNLP file.
But then, I look at target definitions, and am thinking about making a target definition that includes the fragment org.eclipse.swt.win32.win32.x86 which looks like it might result in a cleaner solution. (Although I can't for the life of me find that fragment on the galileo update site...)
Is one solution clearly better than the other? Can the Feature.xml->Plugins section do this? And if I should use fragments instead of jars, is there a trick to getting them?
Thanks in advance!
[Updated on: Sat, 27 March 2010 19:04]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.12230 seconds