SVN 1.7+ in Netbeans 7.0

a 夏天 提交于 2019-12-20 10:29:41

问题


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


回答1:


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



回答2:


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.




回答3:


Netbeans uses the command line client. You still have an 1.6.x version of the command line client somewhere in your PATH env variable.



来源:https://stackoverflow.com/questions/8604767/svn-1-7-in-netbeans-7-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!