Expanding on the JNI project template
Expanding on the JNI project template
- Subject: Expanding on the JNI project template
- From: Paul Archibald <email@hidden>
- Date: Wed, 16 May 2007 21:17:15 -0700
Comrades,
I am building a java app with Xcode, and it uses a jnilib built with
gcc (using a makefile). For various reasons I would like to migrate
the jni build into Xcode. I have been trying to adapt the JNI project
template to work for this, but I am having some problems getting the
run script right. (I will probably have more trouble after that, but
hey, one thing at a time.)
This is the original run script from the template:
javah -classpath "${BUILT_PRODUCTS_DIR}/JNIWrapper.jar" -force -d "$
{BUILT_PRODUCTS_DIR}/Headers" "JNIWrapper"
But I have several java files with native methods, and I don't know
how to modify this script to indicate these other files.
If these are my java files with native methods:
Model.java, ModelClient.java, Parser.java, and Token.java
what would my run script look like?
Or, do I put the files in the "Input Files" section? If so, do I need
to indicate Output files, too?
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden