• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WO and C subroutine using JNI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: WO and C subroutine using JNI
      • From: Zak Burke <email@hidden>
  • Prev by Date: Re: WebObjects Update?
  • Next by Date: Re: WO and C subroutine using JNI
  • Previous by thread: Re: WebObjects Update?
  • Next by thread: Re: WO and C subroutine using JNI
  • Index(es):
    • Date
    • Thread