SVN/Subversion 1.7 和 Eclipse Subversive & JavaHL
我刚刚升级到 TortoiseSVN 1.6.99,Build 21709,(Subversion 1.7.0,-dev)。我的 Eclipse Subversive 0.7.9.I20100512-1900 & 遇到问题JavaHL 1.6.15。尝试更新我的 Eclipse 插件。有人有解决办法吗?
Eclipse 错误:
共享项目失败。 不支持的工作副本格式 svn:路径“XXX”似乎是 Subversion 1.7 或更高版本的一部分 工作副本。请升级您的 Subversion 客户端才能使用此功能 工作副本。
I have just upgraded to TortoiseSVN 1.6.99, Build 21709, (Subversion 1.7.0, -dev). I am having problem in my Eclipse Subversive 0.7.9.I20100512-1900 & JavaHL 1.6.15. Have tried to update my Eclipse plugins. Anyone have an solution?
Error at Eclipse:
Share project was failed.
Unsupported working copy format
svn: The path 'XXX' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
请记住,Subversive 不会直接与您的工作副本进行通信;而是直接与您的工作副本进行通信。它只是 Eclipse 的一个接口。通信通过 SVN 连接器(例如 SVNKit 或 JavaHL)运行。您应该更新此软件来解决您的问题。
就我而言,我使用的是 SVNKit,它可以像这样更新:
2.3.0.I20120413-1700
或更高版本。为此,请转到帮助、关于,然后单击“安装详细信息”。如果重新启动 Eclipse 后 Subversive 使用了错误的连接器,请从首选项屏幕中选择正确的最新连接器(在首选项下,选择团队、SVN,然后单击“SVN 连接器”选项卡)。
Bear in mind that Subversive doesn't communicate with your working copy directly; it is only an interface for Eclipse. The communication runs through an SVN connector such as SVNKit or JavaHL. This is the software you should update to resolve your problem.
In my case I'm using SVNKit, which can be updated like so:
2.3.0.I20120413-1700
or later. To do so, go to Help, About, then click "Installation details".If Subversive is using the wrong connector after restarting Eclipse, select the right newest one from the preferences screen (under Preferences, select Team, SVN then click the tab "SVN Connectors").
您知道 Subversion 1.7 状态吗?它目前处于 beta-2 状态并且不打算用于生产?此外,它无法与工作副本一起使用,因为1.7的工作副本格式已更改,并且它不会自动升级您的工作副本。如果您想使用 1.7-beta-2,则必须使用 Subversion 1.7-beta-2 的 JavaHL 版本,而不是 1.6.X。
上面提到的 TortoiseSVN 也是如此,因为你提到的版本是 BETA! (如 TortoiseSVN 网站上的解释。
You are aware of the Subversion 1.7 state? It is currently a beta-2 state and not intended for production? Furthermore it couldn't work with the working copy, cause the working copy format of 1.7 has changed and it will not upgrade your working copy automatically. If you like to use 1.7-beta-2 you have to use the JavaHL version of Subversion 1.7-beta-2 instead of 1.6.X.
The above mentioned is also true for TortoiseSVN, cause the version you mentioned is a BETA! (as explained on the TortoiseSVN site.
现在 Subclipse 1.8 版本已经解决了这个问题。
This is now solved with Subclipse 1.8 versions.
正确选择 subclipse & SVN连接器将解决这个问题。
我正在使用 ecplise indigo 和 Tortoise SVN 1.8
Subclipse 1.10.5 & 的安装Subversion JavaHL Native Library Adapter 1.8.10 解决了这个问题。
请参阅http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
Proper selection of subclipse & SVN connector will solve the problem.
I am using ecplise indigo and Tortoise SVN 1.8
The installation of Subclipse 1.10.5 & Subversion JavaHL Native Library Adapter 1.8.10 solved the problem.
refer to http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
在 Window->Preferences->Team->SVN、SVN Connector 选项卡下,将 svn Connector 设置为最新的 SVN 套件 SVNKit 1.8.0:
Under Window->Preferences->Team->SVN, SVN Connector tab, set the svn connector to the latest SVN kit, SVNKit 1.8.0:
我经历过同样的问题。我尝试了所有这些。什么都没起作用。原因是,我正在 Ubuntu (Linux) 上尝试。我猜所有这些解决方案都是针对 Windows 的。
我知道这是一个很老的问题,但以防万一它可以帮助其他人。
我这样做了。
sudo apt-get install libsvn-java
)libsvnjavahl-1.so
文件sudo find / -name libsvnjavahl-1.so
eclipse.ini
文件(我们可以在 eclipse 主文件夹中找到)并编辑。我使用 STS,所以sts.ini
适合我。添加以下内容:
<代码>-vmargs
-Djava.library.path=/path/of/libsvn/jni
示例:
<代码>-vmargs
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/
同样的方法也可以应用于 Windows。
参考
http://subclipse.tigris.org/wiki/JavaHL#head-bb1dd50f9ec2f0d8c32246430c00e237d27a04fe
I gone through same issue. I tried all these. Nothing worked. Reason is, I am trying it on Ubuntu (Linux). All these solutions are for windows I guess.
I know this is very old question, but in case it can help others.
I did this.
sudo apt-get install libsvn-java
)libsvnjavahl-1.so
file using following commandsudo find / -name libsvnjavahl-1.so
eclipse.ini
file (We can find in eclipse home folder) and edit. I use STS sosts.ini
for me.Add following:
-vmargs
-Djava.library.path=/path/of/libsvn/jni
Example:
-vmargs
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/
This same methodology can be applied to windows also.
Reference
http://subclipse.tigris.org/wiki/JavaHL#head-bb1dd50f9ec2f0d8c32246430c00e237d27a04fe
非常老的问题,但我发现其中一个问题与“请升级您的 Subversion 客户端以使用此工作副本”相关。错误。
解决方案是删除 .svn 文件元数据(在 Windows 上您需要看到“隐藏文件夹”)。
我的根目录 C:\ 中有一个 .svn 文件,因此所有子文件夹最终都将与该文件相关。您需要从工作目录进入并检查是否有任何可能与当前项目冲突的 .svn 文件。
我刚刚删除了 C:\ 中的 .svn 文件,并且不再有冲突。
Very old question but I found one of the problems related with the "Please upgrade your Subversion client to use this working copy." error.
The solution is to delete the .svn files metadata (on Windows you need to see 'hidden folders').
I had a .svn file in my root directory C:\ so all the subfolders ultimately would be related to that file. You need to go up from your working directory and check if there are any .svn files that may enter in conflict with your current project.
I just deleted my .svn file in C:\ and there were no more conflicts.