• 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
Relative paths not working properly if outside project folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relative paths not working properly if outside project folder


  • Subject: Relative paths not working properly if outside project folder
  • From: Ulrich Frotscher <email@hidden>
  • Date: Thu, 6 Oct 2005 13:54:42 +0200

Our projects (cross platform Linux, Mac, Win,...) are organized in a fixed folder structure where the project files are located in distinct sub folders inside the source root folder.

e.g.

Project
    _Ide
        [...]
        XCode
            project.xcodeproj
    Package
        Package.h
        _Imp
            Package.cpp

If I add e.g. the file Package.cpp with setting "Relative to Project" it ends up with a relative path containing "../" elements, e.g. "../../../Package/Package.cpp"

When I do the above I cannot do the following anymore:
- Touch a file in the source view, it just does not do anything
- See Code size after compilation (the column "Code" stays empty)
- recompile Package.cpp without changing file contents once it has been compiled


Other things like opening the files for editing or making a complete build just works.

The only solution for the time beeing is to set the path either to "Absolute Path" or to "Relative to <Source Tree>". Both solutions are not applicable as we are working in a team using CVS and the absolute paths are diferent on each computer and even the name of the local project folder may vary during to different checkouts on the individual computers.

BTW, I am seeing this with XCode 2.1

Ulrich



_______________________________________________
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: Relative paths not working properly if outside project folder
      • From: Chris Espinosa <email@hidden>
    • Re: Relative paths not working properly if outside project folder
      • From: "Sean McBride" <email@hidden>
    • Re: Relative paths not working properly if outside project folder
      • From: "Jim O'Connor" <email@hidden>
  • Prev by Date: Re: XCode Interface Builder Problem
  • Next by Date: Re: Relative paths not working properly if outside project folder
  • Previous by thread: Re: XCode Interface Builder Problem
  • Next by thread: Re: Relative paths not working properly if outside project folder
  • Index(es):
    • Date
    • Thread