Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] How do I generate the SWT JNI calls?

This doc should *definitely* be linked from the main SWT site.


Matthew Painter
Founder & CTO


Join us on the 29th May 2015 at the Brewery in London for our awesome User Conference, Extract!

On Sat, May 2, 2015 at 4:52 AM, Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx> wrote:
Maybe this would help?
http://leoufimtsev.github.io/org/swt-dev.html

I personnally call make_linux.mak directly but that's probably not the "right way"
OUTPUT_DIR=/path/to/org.eclipse.swt.gtk.linux.x86_64 GTK_VERSION=3.0 SWT_PTR_CFLAGS="-O0 -g3" NO_STRIP=1 make -f make_linux.mak install

Marc-Andre


From: platform-swt-dev-bounces@xxxxxxxxxxx [platform-swt-dev-bounces@xxxxxxxxxxx] on behalf of Stefan Xenos [sxenos@xxxxxxxxxx]
Sent: Friday, 01 May 2015 11:30 PM
To: platform-swt-dev@xxxxxxxxxxx
Subject: Re: [platform-swt-dev] How do I generate the SWT JNI calls?

Okay, I've sorted out the JNI generation. Now I'm onto step #6, trying to run the build.xml. When I follow the instructions as written, I get this error in my console:

Buildfile: 
<snip>/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64/build.xml
init_fragment:

BUILD FAILED
<snip>/eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml:734: Unable to create javax script engine for _javascript_

Total time: 335 milliseconds


On Fri, May 1, 2015 at 6:12 PM Stefan Xenos <sxenos@xxxxxxxxxx> wrote:
I've found this page:


It says I should get a tool called JNIGeneratorApp from the SWT Tools Update Site, but I see no such tool on that update site.

Is this still the proper way to regenerate the JNIs? If so, where do I get the tool?

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top