Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

The Reason:

          Subclipse uses the official Java to C (JavaHL) bindings provided by the Subversion team. On OS/X these aren’t installed by default. Just installing Subversion won’t give them either.

The Soultion:

          Use Homebrew to Install Subversion and get the JavaHL bindings necessary for Subclipse.

Assumptions: You already have installed Eclipse and Subclipse on your mac and Subclipse is not working to connect to remote

Subversion repository

 Steps:

1. Install Homebrew if it does not exist.

    - Open a terminal window and run the following command to install Homebrew

      ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2. Uninstall older Subversion(s).

    - Run this command to remove the older versions

      brew uninstall svn

3. Install Subversion and get the JavaHL bindings necessary for Subclipse.

    - Run this command to remove the older versions

       brew install --universal --java subversion

4. When Homebrew finishes building Subversion and the JavaHL bindings it will display this:

You may need to link the Java bindings into the Java Extensions folder:
     sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions

     Go ahead and run the sudo command above.

 5. Subclipse should automatically start working. You don’t even need to restart Eclipse if you had it running.

 

  


  • No labels