Thanks Timo, I appreciate it. Good resources.

Tim Worman
UCLA GSE&IS


On Oct 8, 2010, at 2:41 PM, Timo Hoepfner wrote:

> Hi Tim,
> 
> some random notes:
> 
> You can specify a native library location for jars in eclipse in the build 
> path settings. 
> For deployment either put them in /Library/Java/Extensions or explicitly 
> specify the location (I don't have example code for that at hand). 
> You can generate the headers with ant's javah task, but I remember running in 
> some problem with that at some point, but I don't remember what it was... I 
> ended up generating via CLI. 
> You should really take a look at using JNA (https://jna.dev.java.net/), this 
> can replace much of the boilerplate code and the generated headers! 
> When you're interfacing with ObjC libraries, take a look at Rococoa 
> (http://code.google.com/p/rococoa/). 
> There's also some tool that auto-generates JNA/Rococoa code from C headers 
> called JNAerator (http://code.google.com/p/jnaerator/). It had some problems 
> when I looked at it, but this is quite a while ago.
> 
> HTH,
> 
> Timo
> 
> 
> 
> 
> Am 08.10.2010 um 22:15 schrieb Tim Worman:
> 
>> I'm looking to do some work on a WO project with JNI calls that was built in 
>> XCode and move it to Eclipse. I guess workflow advice is the most important 
>> thing - for mixing WO with JNI to call native c libraries. Since this whole 
>> subject is new to me in general I'm interested in advice on:
>> 
>> - Eclipse project structure
>> - where you put your c libraries so that your project can discover them
>> - workflow for generating c headers, is it inside eclipse too
>> - can it all just be built and run as a WO app
>> 
>> Anyone? Bueller?
>> 
>> Tim Worman
>> UCLA GSE&IS
>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/th-dev%40onlinehome.de
>> 
>> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to