Compiling swt.jar to native on OSX

Robin Rawson-Tetley enquiries@sheltermanager.homeip.net
Wed Jul 14 14:55:00 GMT 2004


I assume the same problems would exist that I had with Windows/Linux.

I applied the following fixes to the SWT source:

swt.widgets.Browser     static error() method renamed to bError() (conflict with instance method)
swt.widgets.PromptService  Browser.error changed to Browser.bError
swt.widgets.WindowCreator  Browser.error changed to Browser.bError
swt.widgets.AppFileLocProvider Browser.error changed to Browser.bError

swt.custom.TableCursor  void traverse() - changed return type to boolean to match override
swt.awt.SWT_AWT         removed since it depends on the AWT from a real Sun VM
libswt-awt-[build].so   removed as it is only dynamically linked when SWT_AWT used

SwingWT includes the patched sources for Linux and Win32, along with a build script
that should work with MacOSX.

Cheers,

Rob


On Wed, Jul 14, 2004 at 08:43:42AM -0400, Michael Purdy wrote:
> Has anybody successfully compiled swt.jar to native on OSX?  We've tried
> in the past but couldn't get it to compile, but will be beginning the
> process of trying again.  So, if anyone has tried or has pointers, we
> would be greatly appreciative.
> 
> Michael

-- 
=====================================================
Robin Rawson-Tetley

Animal Shelter Manager (http://sheltermanager.sf.net)
SwingWT                (http://swingwt.sf.net)

I prefer encrypted email.
Download my public key at: http://rawsontetley.ath.cx/sfpk.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/java/attachments/20040714/93e8e360/attachment.sig>


More information about the Java mailing list