Re: XCode SSH SCM times out
Re: XCode SSH SCM times out
- Subject: Re: XCode SSH SCM times out
- From: Greg Guerin <email@hidden>
- Date: Thu, 9 Nov 2006 10:54:04 -0700
Thomas Leaute wrote:
>Why on Earth does this have to be so complicated?... I managed to set up
>XCode with CVS over SSH before! The only differences are that it was on
>Panther, with XCode 1.x, and with the standard SSH port. And all I had to
>do was to set up CVSROOT and CVS_RSH in my .profile. Why isn't it working
>this time?...
If .profile worked with Xcode 1.x, it implies Xcode was using a shell to
execute CVS commands, e.g. using the system(3) function. If 1.x was using a
shell, but newer Xcode versions don't, then it would explain what you're
seeing. I don't know if this is true or not, it's just a possible explanation.
Another possibility is that Xcode itself was somehow being launched via a
shell, or was reading shell setup from .profile. I kinda doubt that, based
on my own past experience with Xcode and shell setup, but I could be wrong.
The thing I find strange is that .profile ever worked with Xcode. What
seemed normal and natural to you strikes me as unusual, because I learned
long ago that shells and .profiles aren't part of the normal process
launching or login sequence of Mac OS X. Different expectations.
BTW, you could edit Xcode's own Info.plist, adding an LSEnvironment
dictionary that presets env-vars for Xcode and its child processes.
<http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html>
Or use this Prefs-pane to edit the hidden environ.plist in your login dir:
<http://www.rubicode.com/Software/RCEnvironment/>
Now that I think about it, it really ought to be possible to set SCM env-vars
as part of the project-level or prefs-level build settings for SCM, yet I
don't see this anywhere. You can set args and env-vars for a project's
executables, so why not for its SCM? SCM env settings are as much a
part of the project as anything else, and just as important.
I think a feature-request would be in order, because configuring CVS
env-vars globally or by editing Xcode's plist is far too difficult and
inflexible. Please file such a request at:
<http://developer.apple.com/bugreporter>
-- GG
_______________________________________________
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