Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans 7.x and Subversion 1.7.1

Tags:

After upgrading to the latest TortoiseSVN and checking out a repo, NetBeans is complaining about not having the right version of the SVN client. No problem, I downloaded Win32SVN which is 1.7.0 (tortoise is 1.7.1, but that shouldn't be a problem).

Then, in NetBeans I pointed it to the subversion binary using Tools > Options > Versioning > Subversion. No joy.

Every time I open my project in NB, I get a big scary warning DB telling me that I need to downgrade my repo or upgrade my SVN client.

What steps did I miss? I'm not willing to downgrade my TortoiseSVN, so how do I bring NB up to snuff?

like image 841
Tom Auger Avatar asked Oct 30 '11 02:10

Tom Auger


1 Answers

All that was needed, in addition to the steps I followed, above (installing Win32SVN and pointing NetBeans to the command line client, was to actually tell the IDE to use the command line client rather than the built-in client (which should be updated by Nov 2011, according to the devs).

Open up your PogramFiles/NetBeans folder, look for etc/netbeans.conf, and then, on the netbeans_default_options line inside the quotes, add -J-DsvnClientAdapterFactory=commandline. This tells NetBeans to use the command line SVN rather than the plugin.

like image 118
Tom Auger Avatar answered Sep 24 '22 13:09

Tom Auger