Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344049 - Add FAQ for packaging SWT jars for multiple platforms
Summary: Add FAQ for packaging SWT jars for multiple platforms
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 17:32 EDT by Silenio Quarti CLA
Modified: 2011-05-06 22:15 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silenio Quarti CLA 2011-04-27 17:32:49 EDT
From mailing list:

"I would like to propose a new Q&A to be added to the SWT FAQ (http://www.eclipse.org/swt/faq.php).

In this stackoverflow discussion (http://stackoverflow.com/questions/2706222/create-cross-platform-java-swt-application/5784073#5784073) I present an approach which produces a single jar packaging up the SWT jars for a number of platforms and which loads the correct one at runtime. This allows the resulting jar to use the SWT native widgets across multiple platforms from a single jar.

Let me know if you have any questions."
Comment 1 Carolyn MacLeod CLA 2011-04-28 09:53:54 EDT
See also the mailing list thread at:
http://dev.eclipse.org/mhonarc/lists/platform-swt-dev/msg07255.html
Comment 2 Bogdan Gheorghe CLA 2011-05-06 22:15:56 EDT
I added an item to our FAQ that points to the post. Thanks!