![]() If you’ve already installed subversion using Homebrew without the java bindings, you can just uninstall it and reinstall it with the bindings: brew uninstall subversionīrew install -universal -java subversion And the Java option tells Homebrew to additionally install the Java bindings. Universal means it will install both 32 and 64bit version (without this the java bindings will most probably not work fine). To install them using Homebrew execute the following: brew install -universal -java subversion If you want to have a subversion integration in Eclipse, you’ll need the java bindings. So you need to update your PATH so that /usr/local/bin comes before /usr/bin: vi ~/.profileĮxport PATH=/usr/local/bin:/opt/local/bin:/opt/local/sbin:$PATH Then you’ll see the svn program in /usr/bin because it is before the /usr/local/bin in PATH. This is because the new version is installed in /usr/local/bin and there is an older version in /usr/bin. In my case, it always gets stuck for hours the first time and works the second time…Īfter the install, you might see when running svn –version that it doesn’t say 1.7.5. If the installation of subversion or an upgrade to a newer version gets stuck (this happens to me every time), with the following last line written to the console: => make You can update it with the following command: It should fetch subversion 1.7.5 instead of 1.7.4. This means that your HomeBrew installation should be updated. If you get the following error message: curl: (22) The requested URL returned error: 404 Save and rerun the install of subversion. The replace the two lines with url and md5 by: url '' You will need to type the following: brew edit pkg-config If you get the following error: curl: (22) The requested URL returned error: 503 With Homebrew installed, open a Terminal window and type the following: brew install subversion Update: Another way is to use Homebrew or MacPorts. * ra_local : Module for accessing a repository on local disk. ![]() * ra_svn : Module for accessing a repository using the svn network protocol. * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. The following repository access (RA) modules are available: This product includes software developed by CollabNet (). Once you’ve installed the Command Line Tools, you can check whether SVN is installed and whether you have the right version (1.6.18) opening a Terminal and typing the following: svn -version But if like me you have Xcode installed anyway… The downside of this method is that you have to install Xcode which is a waste of space (1.5 GB download and 3.3 GB install) unless you develop for Mac OS X or iOS. Once Xcode is installed, you can go the Preferences > Downloads > Command Line Tools and install them. You can download it from the Mac App Store. Then open the DMG file, double click on Command Line Tools (Mountain Lion).mpkg, just keep clicking Continue / Agree / Install.Īn alternative is to install Xcode. There select Command Line Tools (OS X Mountain Lion) and download the DMG file (it’s about 110 MB). Getting one is free and only requires an Apple ID which you should all already have. To install them go to Downloads for Apple Developers. ![]() Since I happened to install a new version of eclipse I first thought the problem was with my eclipse install but after wasting way too much time trying to fix it in eclipse I realized my problem was somewhere else… After upgrading to Mountain Lion, I realized that subversion (svn) was missing.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |