• 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: Executing a "java tool"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing a "java tool"?


  • Subject: Re: Executing a "java tool"?
  • From: David Ewing <email@hidden>
  • Date: Sun, 9 Nov 2003 14:43:34 -0700

On Nov 6, 2003, at 3:53 PM, Jim Rankin wrote:

I added a "Java tool" target to an existing project (formerly a PB project). It builds a .jar file, but there seems no way to actually launch the command line app from within XCode (I can run it fine if I build and run from the command line).

Do I have the run kind of target? If not, what do I have to twiddle to get the "Run" button to be clickable?

Create a new custom executable, set the path to be /usr/bin/java, add add an argument that says "-jar yourfile.jar" (with the "yourfile" part replaced with the correct name). You'll probably also want to set it to use the Java debugger.


Dave
_______________________________________________
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.

References: 
 >Executing a "java tool"? (From: Jim Rankin <email@hidden>)

  • Prev by Date: Viewing Variables in Xcode
  • Next by Date: Re: Source Tree Preference
  • Previous by thread: Executing a "java tool"?
  • Next by thread: Distributed Test Project
  • Index(es):
    • Date
    • Thread