On Aug 8, 2006, at 17:00, James Bucanek wrote: Markian Hlynka wrote on Tuesday, August 8, 2006: The source tree is also correct, I've checked in preferences and it's valid: ~markian/Documents/School/PhD/Development/CodeGen
I would try an absolute path (/Users/markian/Document/...). I vaguely remember there being problems with tilde paths in source trees.
I will try that. Thanks for the suggestion! Based on what I've found, that might make some sense...
I went and added the files again, trying to use the sourcetree referencing... Here's what I finally noticed. It says: Path: ../../../../../../Users/markian/Documents/School/PhD/Development/CodeGen/Games/Go9by9 Full Path: /Users/Users/markian/Documents/School/PhD/Development/CodeGen/Games/Go9by9
Notice the problem in Full Path? It says /Users/Users...! Aha! Now, if I add something as project relative, it seems to be OK.. I get:
Path: ../Games/Go9by9
Full Path: /Users/markian/Documents/School/PhD/Development/CodeGen/Games/Go9by9
The only thing puzzling here is that in my groups and files pane of the project, the new directory is BLUE instead of YELLOW. Why? Does this mean something?
Now, here's the interesting bit. If I open up info on the group and change the referencing to "Relative to Codegenproject", I get: Path: ../../../../../../Users/markian/Documents/School/PhD/Development/CodeGen/Games/Go9by9 Full Path: /Users/Users/markian/Documents/School/PhD/Development/CodeGen/Games/Go9by9 notice the /Users/Users again?
So, if I now try to change it _back to project-relative: Path: ../../../../../../../Users/markian/Documents/School/PhD/Development/CodeGen/Games/Go9by9 Full Path: /Users/Users/markian/Documents/School/PhD/Development/CodeGen/Games/Go9by9
well... that makes no sense.. Full Path didn't change, but Path added another ..! this has GOT to be a bug in XCode.
Interestingly, I can click "choose", and everthing goes back to "Relative to Project" and works correctly!
Finally, why the heck, if I click on "file copy.h" does it NOT open that file in Xcode?
Are you double-clicking in Xcode or in the Finder? If in Xcode, check the file type in the inspector. It should be something that Xcode understands (like sourcecode.c.h). You can also configure certain file types to open in exeternal editors. If you've modified these settings, then you might want to revisit them.
If the problem is in Finder, you may need to reset the file associations using Open With/Change All in the Get Info window. This could be a launch services issue rather than an Xcode one.
I have no idea what I meant there! :-(
I will now go get rid of the '~' in my source tree and see if that changes anything. Either way, I'm now certain this has to be a bug from the /Users/Users symptom.
Apple guys... what should I do? is this known, or should I report it?
Markian
---- Early to bed and early to rise, makes a man stupid and blind in the eyes. --Mazer Rackham
|