• 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: class library confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: class library confusion


  • Subject: Re: class library confusion
  • From: Gavin Eadie <email@hidden>
  • Date: Wed, 25 Oct 2006 20:08:29 -0400

At 3:16 PM -0700 10/25/06, Gary Teter wrote:
If I manually shuffle the contents of classpath.txt, I can make the error go away, but I don't know any way to change the order of the frameworks in that file at build time.

I've had to do this before. Add a shell script build phase as the last phase in the application target (not application server). Use perl or something similar to munge the classpath. For example, I have some code that fails unless /System/Library/Java/ is at the top of the classpath:

Thanks Tom and Gary ... Your suggestion to add a late shell script caused me to open up the "Application Server" target where I was smacked in the face by the list of frameworks in the "Link Binary with Libraries" build phase. You can reorder the frameworks there to control the order they appear in the xxxClassPath.txt file. So it's actually easy! Gav
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >class library confusion (From: Gavin Eadie <email@hidden>)
 >Re: class library confusion (From: Gary Teter <email@hidden>)

  • Prev by Date: Re: random handy method
  • Next by Date: Re: random handy method
  • Previous by thread: Re: class library confusion
  • Next by thread: New .Mac Webmail remains a WO app!
  • Index(es):
    • Date
    • Thread