NetBeans 7.x和Subversion 1.7.1 [英] NetBeans 7.x and Subversion 1.7.1
问题描述
升级到最新的TortoiseSVN并签出回购协议后,NetBeans抱怨缺少正确版本的SVN客户端.没问题,我下载了 Win32SVN ,它是1.7.0(乌龟是1.7.1,但不应该是一个问题).
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).
然后,在NetBeans中,我使用工具">选项">版本控制">"Subversion"将其指向了Subversion二进制文件.没事.
Then, in NetBeans I pointed it to the subversion binary using Tools > Options > Versioning > Subversion. No joy.
每次在NB中打开项目时,都会收到一个可怕的警告数据库,告诉我需要降级存储库或升级SVN客户端.
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.
我错过了哪些步骤?我不愿意将TortoiseSVN降级,那么如何使NB变得气喘吁吁呢?
What steps did I miss? I'm not willing to downgrade my TortoiseSVN, so how do I bring NB up to snuff?
推荐答案
除了上面我遵循的步骤(安装Win32SVN并将NetBeans指向命令行客户端)之外,所有需要做的就是实际告诉IDE使用命令行客户端,而不要使用内置客户端(应根据开发人员的要求,在2011年11月之前进行更新, ).
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).
打开PogramFiles/NetBeans文件夹,查找etc/netbeans.conf,然后在引号内的netbeans_default_options行上添加-J-DsvnClientAdapterFactory=commandline
.这告诉NetBeans使用命令行SVN而不是插件.
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.
这篇关于NetBeans 7.x和Subversion 1.7.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!