NetBeans 7.x 和 Subversion 1.7.1 [英] NetBeans 7.x and Subversion 1.7.1

查看:22
本文介绍了NetBeans 7.x 和 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 中打开我的项目时,我都会收到一个可怕的警告 DB,告诉我我需要降级我的 repo 或升级我的 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆