Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Exception with Mac Generator


The SWT tools plugins includes a view called MacGenerator which generates the java code for the cocoa port of SWT.
The java code (natives and structures) for the other platforms is hand typed. Take a look at the class "org.eclipse.swt.internal.win32.OS"
for an example.

Here is some doc:
        http://www.eclipse.org/swt/jnigen.php

The SWT tools plugins also includes a builder called "JNIBuilder" which generates the C code for all platforms. The builder uses the JNIGeneratorApp
to accomplish that. The builder starts any time the SWT java code that have natives and structures changes and then generates the C code for that. The
natives and structures have java doc comments with tags that help the JNIGenerator output the C code.

Here is another doc:
        http://www.eclipse.org/swt/jnigen_metadata.php

Silenio



Adhamh Findlay <donahchoo@xxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

06/17/2009 09:47 PM

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

To
"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
cc
Subject
Re: [platform-swt-dev] Exception with Mac Generator





Can anyone say if JNIGeneratorApp is or is not required to generate  
the C source?  The Mac Generator page implies that it is not needed:

http://eclipse.org/swt/macgen.php

If I have specific questions about Mac Generator and what it is doing,  
is this the correct list to post them too?

Thanks,

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


Back to the top