Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Develop app with SWT for linux & windows

Monday, June 18, 2007, 1:28:50 PM, Mikael Petterson (KI/EAB) wrote:

> - How can we develop the appl for both Linux and Windows within the same
> Eclipse project. (At the moment we use Win. )

Your app (minus SWT) should be binary portable.  You could
develop & test on Windows, and then periodically either
export the app and copy it along with the SWT jar and
library to the Linux platform to test, or you could have
someone load your project from the repository in an Eclipse
workspace on Linux, and test from within Eclipse.

> - How can we deploy the standalone application? Will it be one win- and
> one linux-jar? What part of swt do we need to include?

Your installer will need to include both the SWT jar and the
.dll/.so file for that particular platform.  There are cross
platform installer tools like InstallAnywhere that help you
manage multiple platforms with different file needs.  Or a
simpler approach would be a custom Ant build script that
creates two different zip files, one each for Windows and
Linux, that contain the appropriate files for that platform.

-- 
Hope this helps,
David                            
mailto:dlwhiteman@xxxxxxxxxxxxxxx
news://news.eclipse.org/eclipse.platform.swt
http://www.eclipse.org/newsportal/thread.php?group=eclipse.platform.swt




Back to the top