Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] debugging SWT


Not sure if it will help in this case, but here's a little overview of the "typical" use of the JNI generator (which is just to add a java method or class that corresponds to a native method or struct):
http://www.eclipse.org/swt/jnigen.php

Carolyn


From: Grant Gayed/Ottawa/IBM@IBMCA
To: "Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
Date: 10/11/2009 11:40 AM
Subject: Re: [platform-swt-dev] debugging SWT
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx






To change SWT's C/C++ generator, start by retrieving the org.eclipse.swt.tools project from dev.eclipse.org (see
http://www.eclipse.org/swt/cvs.php ).  The generator lives in its "JNI Generation" unit.

To run the generator, run the JNIGeneratorApp class with argument "all" (no quotes).  You can then make changes to what gets generated in the other classes in the package.


To change the set of java classes that have their natives generated, modify the org.eclipse.swt.internal.properties file in this package.


Grant

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



Back to the top