WO and C subroutine using JNI
WO and C subroutine using JNI
- Subject: WO and C subroutine using JNI
- From: Erwin <email@hidden>
- Date: Tue, 2 Nov 2004 18:58:39 +0100
I am trying to call a C-subroutine from inside one of my component
"ConvertImage" (package oneshot;) using Java JNI .
Everything run well outside WO ... so i am i now but I am stuck in
the javah target build phase....
I defined "Do Javah" (a target similar to the one in the JNI example
, with same build phases.. )
- Sources : ConvertImage.java (and related other sources)
- Frameworks : all necessry java and WO frameworks
- Shell script (here should be the problem....I copied the script from
the JNI example... and I believe there is something wrong in class
references....)
------
javah -classpath "${SYMROOT}/JNIOut.jar" -force -d "${OBJROOT}/Headers"
"ConvertImage"
echo OBJROOT = ${OBJROOT} SYMROOT = ${SYMROOT}
-------
the Headers folder is created crorrectly but javah cannot create the
ConvertImage.h
because it doesn't find the ConvertImage class compiled in the previous
phase.....
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden