• 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: where should java librairies be set?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where should java librairies be set?


  • Subject: Re: where should java librairies be set?
  • From: joshua portway <email@hidden>
  • Date: Mon, 27 Oct 2003 19:05:09 +0000

in xcode if you want to add an existing jar as a library for your project, just add it to your project and drag it into the projects "libraries and frameworks" - that's it.

If you want to merge the contents of the jar with the code that your're building (so that the end result is a single jar file containing all the code with no dependencies), double click the target, and find the jar file - there's a little "merge" tick box which will cause the contents of the jar to be merged into your built code.

For some reason this merge tickbox is only visible when you double click the target, and not in any of the inspectors or other views - xCode seems to be very inconsistent in what it displays where, you often have to hunt around amongst several possibilities - but it's usually in there somewhere !

j


On 27 Oct 2003, at 18:15, Sebastien Sahuc wrote:

Hi again,

Thanks again for you patience. I'm really trying to figure out how i could use the new XCode for my various Java projects. If I create a new Java tool project I could not find a way to set the various libraries that my java project requires. Is there a way to set jar files, or at least a classpath ?

In ProjectBuilder I managed to do so with some kind of building property called 'OTHER_JAVA_CLASS_PATH' which I'm unable to set in XCode (since it's not a native target, hence the 'Rules' pane not available in the target info dialog box).

I'm sure there is a standard way to set the required librairies, unfortunately I'm not yet sure how.

I understand this is a newbie question, but I will appreciate if someone could shed me some light on that point.

Thanks again for reading,

Sebastien Sahuc
_______________________________________________
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.
_______________________________________________
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: 
 >where should java librairies be set? (From: Sebastien Sahuc <email@hidden>)

  • Prev by Date: Re: QT in Xcode
  • Next by Date: signal 5 (SIGTRAP) / libobjc.A.dylib / _objc_exception_set_functions
  • Previous by thread: where should java librairies be set?
  • Next by thread: Re: Blocking bug [was:Re: where should java librairies be set?]
  • Index(es):
    • Date
    • Thread