• 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
java application targeting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java application targeting


  • Subject: java application targeting
  • From: James Closs <email@hidden>
  • Date: Wed, 11 Feb 2004 21:42:11 +0000

Hello all,

I am just migrated from CodeWarrior to XCode and am having a few problems.

I'm building a java application, I just want to output the jar and run it (as if from the command line) with a few command line arguments. I used to do this in CW under the 'runtime settings' for the particular target.

I've successfully built my project in XCode and run the resultant jar from the command line via the terminal but I can't figure out how to get XCode to launch the jar automatically. I *don't* want my app bundled as an application, I want it to remain as a jar file so have tried the 'package' and 'tool' target types, these don't seem to let me run and execute though.

Is there any way of doing this - I've tried adding a shell script as part of the build to just launch the jar but this isn't working either (presumably because the jar isn't output until after all build stages have finished).

Any help much appreciated - please cc direct to my mail as well as the list as I'm on 'digest' mode and could do with an answer asap.

Thanks again.

--

James Closs, Director, bitBull Ltd

http://www.bitbull.com

0773 431 9080

====

The beatings will stop when morale improves....
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: java application targeting
      • From: Dmitry Markman <email@hidden>
  • Prev by Date: Re: strange looking ambiguity with type cast
  • Next by Date: Re: strange looking ambiguity with type cast
  • Previous by thread: Re: strange looking ambiguity with type cast
  • Next by thread: Re: java application targeting
  • Index(es):
    • Date
    • Thread