Re: Xcode 3 vs SCM vs Project Root vs LARGE code base
Re: Xcode 3 vs SCM vs Project Root vs LARGE code base
- Subject: Re: Xcode 3 vs SCM vs Project Root vs LARGE code base
- From: Steve Mills <email@hidden>
- Date: Tue, 30 Oct 2007 14:30:19 -0500
On Oct 30, 2007, at 13:34:50, Matt Gough wrote:
I too had set my Project Root to be the top level folder of our entire
repository. For some bizarre reason in Xcode 3, Apple decided that
instead of getting the SCM state of each file actually added to the
xcodeproj (as they do in Xcode 2.x), they would get the state of
EVERYTHING from Project Root down, even if not used by the current
project. As such, (in my case) it dutifully gathers up information on
about 50,000 files, runs out of memory and then crashes (Stack trace
at end of email)
The folder I set as the project root also has 55k files in it. On my
2x3GHz Mac Pro, the hangs are only a few minutes instead of 40.
So it seems the only way to avoid this is to be more granular about
where Project Root is. Then though we hit David's problem of not being
able to SCM any of the files in the various library folders etc. I
also imagine Project Root is used for other useful stuff (like maybe
finding or the Code Sense stuff?)
Setting the project root to the project's folder instead of the main
branch or depot is that pathnames produced by Xcode will be weird.
Yesterday, before I figured out that the project root needs to be set
to the branch/depot folder instead of the project's folder, I would
drag a source file's proxy icon to Terminal in order to check it out
with p4. The path that Xcode gave to Terminal was weird as hell,
something akin to:
/depot/branch/projects/wow/projects/branch/libs/fileutils/file.h
instead of:
/depot/branch/libs/fileutils/file.h
Needless to say, Terminal could not resolve that path. I reported it
as radar://5567321. I also reported how SCM Results shows *all* files
instead of just the files that are checked out or need an update as
radar://5565148.
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.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