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

Hi,
 
Where can I download Eclipse 3.3?
 
cheers,
 
//mikael


From: platform-swt-dev-bounces@xxxxxxxxxxx [mailto:platform-swt-dev-bounces@xxxxxxxxxxx] On Behalf Of Steve Northover
Sent: den 18 juni 2007 20:52
To: Eclipse Platform SWT component developers list.
Subject: RE: [platform-swt-dev] Develop app with SWT for linux & windows


1) 'Run as SWT Application' is gone for Eclipse 3.3
2) As of SWT 3.3, so is java.library.path

If you use the stand alone jars from eclipse.org/swt, it should all just work for you.



"Mikael Petterson (KI/EAB)" <mikael.petterson@xxxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

06/18/2007 02:33 PM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

To
"David Whiteman" <dlwhiteman@xxxxxxxxxxxxxxx>, "Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
cc
Subject
RE: [platform-swt-dev] Develop app with SWT for linux & windows





Hi,

Thanks for your quick reply David.

I am satisfied with the deployment answer. However we are a number of
developers using both linux and windows to develop the app. It seems
like a problem to develop the app with SWT. I want to code and the
run/debug and code and run/debug. It is not possible? Or did I miss
something?

I have tried  ( if you mean import using e.g. Subversion):

you could have someone load your project from the repository in an
Eclipse workspace on Linux, and test from within Eclipse.

But I get the following complaint:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no
swt-pi-gtk-3235 in java.library.path
                at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
                at java.lang.Runtime.loadLibrary0(Runtime.java:822)
                at java.lang.System.loadLibrary(System.java:993)
                at
org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
                at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)

When I Run As SWT Application.

Have I missed something.

Cheers,

//mikael

-----Original Message-----
From: platform-swt-dev-bounces@xxxxxxxxxxx
[mailto:platform-swt-dev-bounces@xxxxxxxxxxx] On Behalf Of David
Whiteman
Sent: den 18 juni 2007 20:14
To: Eclipse Platform SWT component developers list.
Subject: 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


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top