[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Running SWT Outside Eclipse Instructions

Mark Dexter wrote:
Mark Dexter wrote:
Is there a document that explains how this now works in 3.3? Where is the platform-specific layer for SWT called from? Thanks. Mark

Hi. I think I answered my own question. The DLL files are now included in the SWT.JAR file for Windows. So I take it that some Java magic takes place that allows SWT applications to find the DLL's inside the SWT.JAR file. So we only need the platform-specific SWT.JAR file in the Class-Path of the manifest to run SWT app's and we don't need to worry about DLL files. Is this correct? Is this documented somewhere? Thanks. Mark

If you find out more about this, please post back.

I have found for 3.2.2 that the SWT jar files are extracted into the OSGi container and Eclipse will automagically have that path included in -Djava.library.path.

The problem I have is that we are building an RCP 3.2.0 distribution (with a previous version of SWT) in an Eclipse 3.2.2 IDE and it can't find the SWT dlls. I could find nothing on the internet about this.
In the end I upgraded our RCP to 3.2.2 and now the dlls match my GUI tests can be run inside Eclipse.