Re: Odd relative paths
Re: Odd relative paths
- Subject: Re: Odd relative paths
- From: Sailesh Agrawal <email@hidden>
- Date: Mon, 25 Jul 2005 02:08:39 -0700
Michael Hecht wrote:
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'm not sure why you're getting the error (a symlink maybe?) but here's
a possible fix. Select the file you want to fix and hit command I. In
the General tab change the path by clicking choose. Make sure "Relative
to Project" is selected.
I think this should reset the path to the "correct" version and you
won't have to edit the project file by hand :-P
Sailesh
_______________________________________________
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