在“工具”>“选项”>“杂项”>“版本控制”>“Subversion”中,我无法在“管理连接设置...”下键入存储库 URL,当我单击输入字段时,它只会显示一个空白的下拉菜单。 另外,如果我在“首选客户端”下选择“SvnKit”,它不会以这种方式配置它,我单击“确定”,但当我返回选项菜单时,“CLI”被标记,我无法使用它,因为它是根据 Netbeans 网站 ( http://wiki.netbeans.org/FaqSubversionClients ),已弃用。 当我尝试使用结帐时,我得到:
NetBeans Subversion support required a Subversion client!
Install Subversion Commandline Client
1. Download and Install Subversion 1.5 or later (http://collabnet.net/netbeans).
2. Add it to PATH.
Test the installation by running 'svn --version' from a command line
3. Restart the IDE
我已经在 PATH 环境变量下指定了 C:\Program Files\TortoiseSVN\bin 但我仍然得到
'svn' is not recognized as an internal or external command, operable program or batch file.
我在 Win 8 x64 Netbeans 7.3.1 上运行 Tortoise 1.8.3
最佳答案
TortoiseSVN 是一个 GUI 和 Windows 集成的 svn 客户端。它不提供 Netbeans 所需的 svn.exe 和 svn 工具。 (请参阅错误消息中对 -commandline- 的引用。) Collabnet或 cygwin 可以为 Netbeans 提供适当的工具。
每条评论
这是我的路径,您需要的内容加粗,其他 SCM 强调:
C:\Users\jpotkanski>路径 PATH=C:\Program Files (x86)\CollabNet\Subversion Client;C:\Windows\system32;C:\W indows;C:\Windows\system32\wbem;C:\Program Files\RSA SecurID Token Common;C:\Pro gram Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Fi 文件 (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\Windows\SYS TEM32\WINDOWSPOWERSHELL\V1.0;C:\PROGRAM FILES (X86)\INTEL\SERVICES\IPT;C:\PROGRA M 文件\THINKPAD\蓝牙软件;C:\PROGRAM FILES\THINKPAD\蓝牙软件 \SYSWOW64;;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Co mmon7\IDE;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;c:\Program 文件\Microsoft SQL Server\100\Tools\Binn;c:\Program Files (x86)\Microsoft SQL S erver\100\DTS\Binn;C:\Program Files\Mercurial;C:\Program Files\Microsoft\Web Pla tform 安装程序;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0; C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Inte l\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\ Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon; C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCom mon\;C:\Program Files\TortoiseSVN\bin;C:\Ruby193\bin;C:\Program Files\Intel\WiFi \bin\;C:\Program Files\Common Files\Intel\WirelessCommon\
关于svn - 我无法在 Netbeans 中指定 Subversion 存储库的位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19209426/