• 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: Fat Jar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fat Jar


  • Subject: Re: Fat Jar
  • From: Jerry <email@hidden>
  • Date: Fri, 14 Oct 2005 10:42:05 +0100


On 13 Oct 2005, at 17:16, David Ewing wrote:


On Oct 13, 2005, at 2:43 AM, Marco Iora wrote:


Hello all,
my first question is about the build system of Xcode. Actually I develop a client server java application using postgresql database. I wanna create a jar with postgresql.jar included to avoid the need to specify the classpath (different for every system).
I tried but can't get out how.


Add the file to the project, and to the target that you're building. Edit the target, and look at the "Link Binary with Libraries" build phase. There's a checkbox there called "Merge" that does what you want.

Wow! I've been looking for that for months! I was expecting to find it in the Get Info of either the jar file itself or the build phase, not in the target settings. 

Jerry

 _______________________________________________
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: 
 >Fat Jar (From: Marco Iora <email@hidden>)
 >Re: Fat Jar (From: David Ewing <email@hidden>)

  • Prev by Date: Re: Smooth scrolling
  • Next by Date: rebuild codesense index?
  • Previous by thread: Re: Fat Jar
  • Next by thread: XCode Distributed Builds
  • Index(es):
    • Date
    • Thread