• 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
Re: no rule to process file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no rule to process file


  • Subject: Re: no rule to process file
  • From: Greg Guerin <email@hidden>
  • Date: Fri, 9 Jun 2006 15:26:41 -0700

Ivan C Myrvold wrote:

>imyrvold$ ls -al /Users/imyrvold/Documents/Cocoa/MyTest/build/Debug/MyTest.jar

That file isn't inside the final build-output's app-bundle.  Is that file
being correctly copied to Contents/Resources/Java within the app-bundle?


Looking at your other files and steps, one thought is that your MyJava
class (step 6) doesn't extend NSObject, so I don't know how amenable it is
to being loaded by NSClassFromString().

My Cocoa-Java projects don't extend NSObject for any of my Java classes,
because they all just use Cocoa as the GUI and Java for outlets and actions
and such.  So I could be wrong about NSObject; it's just something I
noticed.


>        <key>Java</key>
>        <dict>
>                <key>JVMVersion</key>
>                <string>1.3+</string>
>        </dict>
>        <key>NSJavaNeeded</key>
>        <string>YES</string>
>        <key>NSJavaPath</key>
>        <array>
>                <string>MyTest.jar</string>
>        </array>
>        <key>NSJavaRoot</key>
>        <string>Contents/Resources/Java</string>

Those look OK to me.


I'm out of suggestions for now, but if I think of anything else, I'll post it.

  -- GG


 _______________________________________________
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

  • Prev by Date: Re: no rule to process file
  • Next by Date: Re: automagic header dependencies
  • Previous by thread: Re: no rule to process file
  • Next by thread: Keyboard focus in Run Log
  • Index(es):
    • Date
    • Thread