• 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: Cocoa Application (and JAVA Bridge) Compile Error with JAM "Missing file or directory"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Application (and JAVA Bridge) Compile Error with JAM "Missing file or directory"


  • Subject: Re: Cocoa Application (and JAVA Bridge) Compile Error with JAM "Missing file or directory"
  • From: Brent Gulanowski <email@hidden>
  • Date: Mon, 20 Sep 2004 21:11:38 -0400

I can't help you with your particular error but I can say that my
experience with the Java bridge and native targets is better, at least
with my own class. See this:

<http://www.cocoadev.com/index.pl?XcodeObjCJavaBridge>

In short: native Objective-C target + Java jar stored in the bundle.
Well, in this case the "bundle" is just the build directory, seeing as
it's just a Foundation tool. Perhaps I'd run into different problems
if I was trying to build an application?

I did encounter a different problem which is outlined on that page,
relating to a 3rd party jar library.


On Tue, 21 Sep 2004 01:02:42 +0200, Alexander F. Hartner
<email@hidden> wrote:
> When I compile my Cocoa application I get the following error message.
> My application is mostly writen in OBJ C but uses some Java classes via
> the Java Bridge. I have added my java classes into a package
> (com.j2anywhere.ldap. ..) in the base of my projects folder.
>
> For some reason JAM insist on searching in the base rather then
> respecting the package of my Java classes. I tried several things and
> the missing classes seam to alter for various setting, although never
> in a consistent manor. This leads me to believe that this is a problem
> somewhere else. The class indicated in my latest error message resides
> in
>
> /Users/alex/Projects/Cocoa/AddressBook4LDAP/com/j2anywhere/ldap/
> StringArray.java
>
> and has the correct package declaration.
>
> Currently i am using the cocoa legacy build target. I haven't found a
> suitable replacement which allows me to build cocoa application which
> use the Java Bridge yet. Any suggestion on this are most welcome
>
> /Developer/Private/jam -d1 -j1
> JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase
> JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.3
> BUILD_STYLE=Deployment
> CPP_HEADERMAP_FILE=/Users/alex/Projects/Cocoa/AddressBook4LDAP/build/
> AddressBook4LDAP.build/AddressBook4LDAP_old.build/AddressBook4LDAP.hmap
> SRCROOT=/Users/alex/Projects/Cocoa/AddressBook4LDAP
> OBJROOT=/Users/alex/Projects/Cocoa/AddressBook4LDAP/build
> SYMROOT=/Users/alex/Projects/Cocoa/AddressBook4LDAP/build
> DSTROOT=/tmp/AddressBook4LDAP.dst
> Missing file or directory:
> /Users/alex/Projects/Cocoa/AddressBook4LDAP/StringArray.java



--

Brent Gulanowski
http://www.boredastronaut.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Cocoa Application (and JAVA Bridge) Compile Error with JAM "Missing file or directory" (From: "Alexander F. Hartner" <email@hidden>)

  • Prev by Date: Re: User Picture
  • Next by Date: External C Libraries and ZeroLink (was: Using External C Libraries with Objective-C)
  • Previous by thread: Cocoa Application (and JAVA Bridge) Compile Error with JAM "Missing file or directory"
  • Next by thread: newbie question re text field and special glyphs
  • Index(es):
    • Date
    • Thread