• 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-Java-based Universal Binary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-Java-based Universal Binary?


  • Subject: Re: Cocoa-Java-based Universal Binary?
  • From: David Ewing <email@hidden>
  • Date: Tue, 14 Jun 2005 16:46:54 -0600

The short answer is no, it's not currently supported. Cocoa-Java projects use old, Jam-based targets, and SDKs are only supported with new, "native" targets.

But, it shouldn't be too hard to build Java sources into a .jar file in one target, and copy the .jar into the Resources/Java directory of another (native) target. That's probably the only way to do it in Xcode 2.1.

Please do still file a bug to make sure this gets tracked.

Dave

On Jun 14, 2005, at 1:31 PM, Frédéric BLANC wrote:

   Hi All!


I've recently posted on both "cocoa-dev" & "java-dev" lists a question about building a Universal Binary from a Cocoa-Java project in Xcode v2.1. During this thread, Eric Albert advises me to post on this list too. So… Here's a summary of the "problem" :) !

<<
I simply can't get my Cocoa-Java project to build as a Universal
Binary :( !  I've changed the target SDK to "Mac OS X v10.4
(Universal)", verified the SDKROOT in my "Deployment" task, and added
"Intel" in its "Architectures" property before running a "Deployment"
build.  The "lipo -detailed_info" command always returns me that my
.../Contents/MacOS executable is not fat, and "ppc" only :( !

I've read in Apple's Universal Binary Programming Guidelines that
Cocoa & Java were supported, and concluded that Cocoa-Java surely
should.  But I just can't succeed in producing such a build through
Xcode v2.1, and I also can't find a single mention of Cocoa-Java on
this peculiar subject.  So… is it supported :( ?

I've read tons of posts on "cocoa-dev" & "java-dev" regarding this
topic; and I've already produced Universal Binaries for some
Cocoa-ObjC projects (and very easily…)  So, either I miss something
relevant to Cocoa-Java only, or it's not supported.  Anyone :) ?




Additional Comment: Eric Albert hinted me that only *native* targets could lead to a Universal Binary; but projects containing Java classes aren't qualified to be upgraded as such :( !

===

This is my last attempt to find an answer/explanation before
submitting a bug report/enhancement request to Apple.  I just wanted
to be sure I've asked this to the *right* people before doing so ;) …
and before considering a port to full Objective-C :( !  (Indeed, even
a clear statement saying "Cocoa-Java projects are not supported for
Universal Binaries" would be much appreciated since it would allow me
to begin working on this port as soon as possible…)

Bye & Thanks for any idea,


-- — Frederic BLANC (email@hidden) _______________________________________________ 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

_______________________________________________ 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
References: 
 >Cocoa-Java-based Universal Binary? (From: Frédéric BLANC <email@hidden>)

  • Prev by Date: XCode 2.1 doesn't think I'm building a kext
  • Next by Date: Re: XCode 2.1 CVS broken
  • Previous by thread: Cocoa-Java-based Universal Binary?
  • Next by thread: Problems defining a UTI
  • Index(es):
    • Date
    • Thread