svn for eclipse on mac os lion

后端 未结 9 521
挽巷
挽巷 2021-01-02 01:46

I need to use Subversion with Eclipse on Mac Lion. I encounter problem as below

I saw: Subclipse in Mac OS Lion shows "Unable to load default SVN client" e

相关标签:
9条回答
  • 2021-01-02 02:30

    Follow the steps as below to get it working:

    1. Install subclipse via update url: http://subclipse.tigris.org/update_1.8.x
    2. Install subversion using the binary from here: http://www.ubersvn.com/download (scroll down to "Command-Line Client 1.6.18 and 1.7.6 certified by WANdisco" section since that's all you need)
    0 讨论(0)
  • 2021-01-02 02:30

    I went to this topic because I was in need to make SVN 1.7 to work with subclipse.

    For those with the same problem, the easiest way to fix it is to install Subversion and JavaHL from MacPorts.

    The packages you need to install with macports are subversion and subversion-javahlbindings (check here), they are both 1.7.1.

    With these packages you can install the subclipse using the update site with version 1.8.x. (http://subclipse.tigris.org/update_1.8.x)

    If you don't have macports installed follow these instructions. I am sure it will be useful for other things too. You also need to install XCode from AppStore.

    0 讨论(0)
  • 2021-01-02 02:30

    You only installed the Java HL package. Uninstall JavaHL and install the SVN Kit. You can find options for connecting in Preferences -> Team...

    0 讨论(0)
  • 2021-01-02 02:31

    The issue is that you need the right native Subversion libraries for the version of Subclipse you use. This page has information and a chart of the versions:

    http://subclipse.tigris.org/wiki/JavaHL

    The binaries on CollabNet website are still for SVN 1.6 so you either need to get SVN 1.7 binaries (MacPorts and Homebrew are good places to get it) or you need to use Subclipse 1.6.x.

    0 讨论(0)
  • 2021-01-02 02:33

    In case anyone using homebrew wants SVN version 1.6 support (as I did due to interacting with some old servers), here is how I got it to work:

    Install SVN 1.6 via homebrew:

    brew tap homebrew/versions
    brew info homebrew/versions/subversion16
    brew install homebrew/versions/subversion16 --java
    

    Ensure that /usr/local/bin is in your PATH before /usr/bin, so that homebrew's SVN is ran instead of OS X's.

    If using Eclipse:

    Be sure to install Subclipse 1.6 (e.g. use the 1.6 update site) instead of the newest one.

    If you follow the homebrew formula instructions to link the java library to OS X's Extensions, you do NOT have to edit your Eclipse.ini file to include the path there. For posterity, those commands are:

    sudo mkdir -p /Library/Java/Extensions
    sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib
    

    HTH

    0 讨论(0)
  • 2021-01-02 02:34

    This post resolved my problem: http://bridgetconsulting.com/?p=64 Requires MacPorts

    Add to /opt/local/etc/macports.conf this line

    universal_archs         i386 x86_64
    

    and run

    sudo port install subversion-javahlbindings +no_bdb +universal
    
    0 讨论(0)
提交回复
热议问题