MINI HOWTO: eclipse + subversion (SVN)


Active Member

Reaction score: 13
Messages: 106

as you may know eclipse doesn't support svn out of the box and making it work with svn is not that trivial. So in order to use svn with eclipse you need to get the eclipse platform first (3.2.x, 3.3.x, 3.4.x, ...) currently the recommended version is 3.4.x. So first install java/eclipse-devel and run it. Then go to the menu bar and select Help -> Software Updates -> Available Software ... then click on the Add Site button and enter (if this address doesn't work check for the correct eclipse update address). After you've got the update site set up make sure to install the Subclipse and JavaHL plugins. Once you got all that installed you're ready to install the subversion Java bindings since JavaHL is only a high level svn client API. Install java/subversion-java and add the following line in /usr/local/eclipse-devel/eclipse.ini


under the "-vmargs" row, so it should look like that:


...this tells eclipse where is the native library to use with JavaHL.
Basically that's it, restart eclipse and you're ready to rock.
good luck ;)