Re: How do I set a custom path to svn?
Re: How do I set a custom path to svn?
- Subject: Re: How do I set a custom path to svn?
- From: Alexander von Below <email@hidden>
- Date: Mon, 15 Mar 2010 23:19:17 +0100
Yes, there is no problem doing so.
However, I would advise to install the newer version somewhere different that /usr/bin. It should be not problem to set your $PATH accordingly, and will allow all the normal updating to still work for /usr/bin
Just my € 0.02
Alex
Am 15.03.2010 um 23:15 schrieb Andreas Grosam:
>
>
> On Mar 15, 2010, at 11:03 PM, Chris Espinosa wrote:
>
>>
>> On Mar 15, 2010, at 2:49 PM, Andreas Grosam wrote:
>>
>>> I would like Xcode to use a new subversion version, which I have installed in /opt/subversion/bin. Usually, Xcode uses the one in /usr/bin. I couldn't see a preference specifically for this.
>>>
>>>
>>>
>>> My guess is, that setting the PATH environment variable accordingly in any of the bash startup files ~/.profile, ~/.bashrc and ~/.bash_profile would only affect shell programs - but not Xcode (please correct me, if I'm wrong here).
>>>
>>> Setting the path in ~/.MacOSX/environment.plist does not work either, since "something" is reordering the path components, which has likely to do with the path settings in /etc/paths or something else. Anyway, even when I prepend the custom path, the path components in PATH will be reordered so that /usr/bin is again in the front after login in. Any clues, why this have been done that way?
>>>
>>> Although there may be a slight chance that there are issues when using subversion 1.6.6 (but unlikely) from within Xcode instead the built-in version 1.6.5 - I'm nonetheless curios of how one can accomplish this (easily).
>>>
>>>
>>> Since there were changes within this regards how this stuff is treated in Tiger, Leopard and Snow Leopard, here is my current OS version: 10.6.2
>>
>> Xcode does not use the svn command line tool. It links directly to and directly calls the Subversion libraries in /usr/lib.
>>
>> Chris
>
> Thank you very much for this fast reply!
>
> OK, so then I assume there is no problem using the command line version in /usr/bin in *parallel* with Xcode's implementation, or even a third party tool - if I ensure this third party tool uses the tool in /usr/bin ?
>
>
> Regards
> Andreas Grosam _______________________________________________
> 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
_______________________________________________
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