• 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: Java project - warning message - catch 22
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java project - warning message - catch 22


  • Subject: Re: Java project - warning message - catch 22
  • From: Christopher Henrich <email@hidden>
  • Date: Sun, 01 Mar 2009 22:03:09 -0500


On Feb 28, 2009, at 11:12 PM, Chris Espinosa wrote:


On Feb 28, 2009, at 6:46 PM, Christopher Henrich wrote:

I have several Java applets that I have built using Xcode. Since I installed Xcode 3, whenever I build one of these, I get a warning message:

"Jam is deprecated; targets that use Jam should be upgraded to native targets."

OK, this sound like a virtuous thing to do. On the Project menu of Xcode is an item: "Upgrade all Targets in Project to Native."
Ah. this should be easy.


But when I select that item, I see an alert message that says, in part:

"Java is presently supported by native targets, so you should not upgrade projects with targets containing Java."

Here is a classic double bind. I am forbidden to do what I am told I ought to do. Which of these messages should I heed?

Should I simply replace my old projects with new ones?

Jam is now supported by External Build System targets that use the ant command-line tools. We find that most people who build large Java projects do so for cross-platform code, and having a separate build system for Xcode was burdensome for them and us.


Create a new Java target with New Target, point it at your sources, and delete the old Jam target.

Chris

Thanks, Chris, for a quick and helpful reply.

I have done some experiments, and it seems that I can set up a new Java project, but I can't find any way to add a Java target to an existing project. The "New Target" menu item gives me a selection of templates; in the "Other" group I find "External Target" which seems to be the nearest thing to what I am looking for.

Have I misunderstood the UI of Xcode (not for the first time!), or is this a place for an enhancement?

Christopher Henrich
email@hidden
mathinteract.com




_______________________________________________ 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: does Leaks instrument not work correctly with C++?
  • Next by Date: 10.4u sdk to 10.5 sdk OpenTransport.h file inclusion problem
  • Previous by thread: Re: does Leaks instrument not work correctly with C++?
  • Next by thread: 10.4u sdk to 10.5 sdk OpenTransport.h file inclusion problem
  • Index(es):
    • Date
    • Thread