Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN 1.7+ in Netbeans 7.0

I have a project that uses totoiseSVN. Before upgrading it to 1.7 version all works fine, but when I upgrade tortoiseSVN to 1.7 version it gives me an error when I try to commit or to show history log or to update:

org.tigris.subversion.javahl.ClientException: Unsupported working copy format
The path 'C:\Users\user\stuff\myApp' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.

As I know if my system has toriseSVN installed Netbeans uses it by default. Also I have read that .svn directory is located only in the root(as in my case) of project(working copy) in svn 1.7+. So why netbeans tells me that I have to upgrade the svn client as I already have the newest version

like image 798
maks Avatar asked Dec 22 '11 13:12

maks


People also ask

Is TortoiseSVN free?

About TortoiseSVN It's intuitive and easy to use, since it doesn't require the Subversion command line client to run. And it is free to use, even in a commercial environment.


2 Answers

Enable Command line switch in your application shortcut/execution path:

-J-DsvnClientAdapterFactory=commandline

Example

“C:\Program Files\NetBeans 7.0.1\bin\netbeans.exe” -J-DsvnClientAdapterFactory=commandline
like image 171
tpae Avatar answered Oct 12 '22 14:10

tpae


Setting -J-DsvnClientAdapterFactory=commandline option and including svn executable in your PATH system variable is enough to solve this problem.

You can set the option by doing this in a way described by tpae OR by adding this option to netbeans_default_options property in <netbeans_dir>\etc\netbeans.conf file.

like image 25
Piotr Babij Avatar answered Oct 12 '22 14:10

Piotr Babij