• 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
Odd relative paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd relative paths


  • Subject: Odd relative paths
  • From: Michael Hecht <email@hidden>
  • Date: Sat, 23 Jul 2005 09:34:39 -0400

I have several files in my project that I want to have a relative path of this form:

    ../A/foo.cpp

Most of the files that I want to access in this way are fine. However, there are a few that, when they are compiled, show me a build message with a path like this:

    ../A/../A/foo.cpp

or even this:

    ../A/../B/../A/foo.cpp

I know it's harmless, but it might cause problems if I relocate my project to another machine (for example, if B didn't exist on the other machine). Within Xcode, I've examined the files in question and they all seem to think that the path is already exactly what I want it to be. But something is obviously not quite right. How do I correct this? I suspect it will involve directly editing the .pbxproj file in BBEdit, but this sounds like an easy way for me to totally screw up my project file. Can someone provide detailed instructions on how to do this? Is it as easy as a global search-and-replace? What should I expect to be replacing (ie: what context should I expect to find the bad paths in)?

Thanks,
--Michael


-- 

Michael P. Hecht -- email@hidden

JMP, a Business Unit of SAS Institute -- http://www.jmp.com/




 _______________________________________________
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

  • Follow-Ups:
    • Re: Odd relative paths
      • From: Sailesh Agrawal <email@hidden>
  • Prev by Date: Cross development, can't include <string> on 10.2.8
  • Next by Date: SOLVED? -> Re: Fwd: Error linking in Xcode 2.1 (undefined symbols in libSystem)
  • Previous by thread: Re: Cross development, can't include <string> on 10.2.8
  • Next by thread: Re: Odd relative paths
  • Index(es):
    • Date
    • Thread