Hi all,
Does anyone have experience with managing JNI C files inside his IDE? I
use Eclipse, so would prefer a solution for it, but maybe another IDE
handles this better.
I posted a specific question about setting this up to the groups
eclipse.tools.jdt and e.t.cdt on news.eclipse.org, but wanted to ask
here more generally: how do you manage JNI projects?
Thanks for the feedback.
Also: is it possible to step into the JNI functions with a debugger?
Either the Java one or the C one. (Again, preferably the Eclipse
built-in debuggers, but any other will do.)
I suggest you just believe me that I need JNI, unfortunately.
Cheers, H.

Signature
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Arne Vajhøj - 12 Dec 2007 01:52 GMT
> Does anyone have experience with managing JNI C files inside his IDE? I
> use Eclipse, so would prefer a solution for it, but maybe another IDE
[quoted text clipped - 3 lines]
> eclipse.tools.jdt and e.t.cdt on news.eclipse.org, but wanted to ask
> here more generally: how do you manage JNI projects?
I think that:
- two independent projects
- a C project that creates a dll/so/exe
- a Java project that uses that and creates a jar
would be the way to go.
Possible combined with a non-IDE final build (make & ant).
Arne
Hendrik Maryns - 12 Dec 2007 10:47 GMT
Arne Vajhøj schreef:
>> Does anyone have experience with managing JNI C files inside his IDE? I
>> use Eclipse, so would prefer a solution for it, but maybe another IDE
[quoted text clipped - 11 lines]
>
> Possible combined with a non-IDE final build (make & ant).
Thanks.
Do you intend the Java-created jar to include the C files/library as well?
H.

Signature
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Gordon Beaton - 12 Dec 2007 07:28 GMT
> Also: is it possible to step into the JNI functions with a debugger?
> Either the Java one or the C one. (Again, preferably the Eclipse
> built-in debuggers, but any other will do.)
There are several good suggestions in this thread, especially in Chris
Uppal's second post (number 6 in the thread):
http://groups.google.com/groups?threadm=1145543826_81%40sicinfo3.epfl.ch
/gordon
--