• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 3.1.2 and Subversion 1.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 3.1.2 and Subversion 1.6


  • Subject: Re: Xcode 3.1.2 and Subversion 1.6
  • From: Jim Prouty <email@hidden>
  • Date: Thu, 26 Mar 2009 11:20:26 -0700

Title: Re: Xcode 3.1.2 and Subversion 1.6
>Date: Wed, 25 Mar 2009 15:19:20 -0700
>From: Chris Espinosa <email@hidden>
>Subject: Re: Xcode 3.1.2 and Subversion 1.6
>To: Rob Lockstone <email@hidden>
>Cc: Xcode Users <email@hidden>
>Message-ID: <email@hidden>
>
>
>On Mar 25, 2009, at 3:07 PM, Rob Lockstone wrote:
>
>> Has anyone tried using Xcode 3.1.2 with the subversion 1.6.0 client?
>> I think I recall (but may be wrong) that newer versions of Xcode 
>> don't make assumptions about the version of subversion that's 
>> installed and simply use whatever version it finds.
>
>We have not yet qualified any version of Xcode with Subversion 1.6.0 
>and don't recommend replacing existing Subversion library or client
>code with 1.6 until we've given it the green light.

Not knowing this, and frustrated because my Xcode 3.1.2 wasn't working with Subversion 1.5 on my machine anyway, I installed the macports

        http://www.macports.org/install.php

version of Subversion

        sudo port install subversion

which automatically chose 1.6 for me. I got svn 1.6.0.0 installed as /opt/local/bin/svn and libraries in /opt/local/lib.

I then ran the script at the end of this email to update my svn libraries while keeping the original versions of the libapr.

I had to add the following stuff to my ~/.bash_profile to modify $PATH and $MANPATH (dontcha love UNIX?) because macports put the needed changes in ~/.profile and I don't use /bin/sh:

# MacPorts Installer addition on 2009-03-23_at_15:23:43: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.


# MacPorts Installer addition on 2009-03-23_at_15:23:43: adding an appropriate MANPATH variable for use with MacPorts.
export MANPATH=/opt/local/share/man:$MANPATH
# Finished adapting your MANPATH environment variable for use with MacPorts.

Now I have Xcode 3.1.2 successfully working with SVN 1.6. I don't guarantee success for others in light of Chris's statement, though :-)

For an outside-of-Xcode client, I'm using SCPlugin-0.7.3l-SVN.1.6.0.pkg.dmg from http://scplugin.tigris.org/ which is a Mac OS X SVN client inspired by Tortise SVN for the PC.

--Jim
----------------------------------------------------------------------------------------------------
#!/bin/bash
PORTLIB="/opt/local/lib"
cd /usr/lib
mv -n libapr-1.0.2.7.dylib libapr-1.0.2.7.dylib_orig # -n avoids saving the new over the original
rm libapr-1.0.dylib
rm libapr-1.dylib

cp $PORTLIB/libapr-1.0.3.3.dylib .      #1.6.0.0 release
ln -s -f libapr-1.0.3.3.dylib libapr-1.0.dylib
ln -s -f libapr-1.0.3.3.dylib libapr-1.dylib

mv -n libaprutil-1.0.2.7.dylib libaprutil-1.0.2.7.dylib_orig
rm libaprutil-1.0.dylib
rm libaprutil-1.dylib
cp $PORTLIB/libaprutil-1.0.3.4.dylib .
ln -s -f libaprutil-1.0.3.4.dylib libaprutil-1.0.dylib
ln -s -f libaprutil-1.0.3.4.dylib libaprutil-1.dylib

mv -n libsvn_client-1.0.0.0.dylib libsvn_client-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_client-1.0.0.0.dylib .

mv -n libsvn_delta-1.0.0.0.dylib libsvn_delta-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_delta-1.0.0.0.dylib .

mv -n libsvn_diff-1.0.0.0.dylib libsvn_diff-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_diff-1.0.0.0.dylib .

mv -n libsvn_fs_fs-1.0.0.0.dylib libsvn_fs_fs-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_fs_fs-1.0.0.0.dylib .

mv -n libsvn_fs-1.0.0.0.dylib libsvn_fs-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_fs-1.0.0.0.dylib .

mv -n libsvn_ra_local-1.0.0.0.dylib libsvn_ra_local-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_ra_local-1.0.0.0.dylib .

mv -n libsvn_ra_svn-1.0.0.0.dylib libsvn_ra_svn-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_ra_svn-1.0.0.0.dylib .

mv -n libsvn_ra-1.0.0.0.dylib libsvn_ra-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_ra-1.0.0.0.dylib .

mv -n libsvn_wc-1.0.0.0.dylib libsvn_wc-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_wc-1.0.0.0.dylib .

mv -n libsvn_repos-1.0.0.0.dylib libsvn_repos-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_repos-1.0.0.0.dylib .

mv -n libsvn_subr-1.0.0.0.dylib libsvn_subr-1.0.0.0.dylib_orig
cp $PORTLIB/libsvn_subr-1.0.0.0.dylib .
----------------------------------------------------------------------------------------------------

--

Jim "How does it work?" Prouty

Voice: (503) 620-3001, FAX: (503) 620-6754
Makers of IGOR Pro, scientific data analysis and graphing for Mac and PC
http://www.wavemetrics.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

  • Follow-Ups:
    • Re: Xcode 3.1.2 and Subversion 1.6
      • From: Rob Lockstone <email@hidden>
  • Prev by Date: Re: Books (that know xib!)
  • Next by Date: Re: Odd Compiler... issue... error... something weird
  • Previous by thread: Re: Xcode 3.1.2 and Subversion 1.6
  • Next by thread: Re: Xcode 3.1.2 and Subversion 1.6
  • Index(es):
    • Date
    • Thread