SVN / Subversion 1.7 and Eclipse Subversive & Java

2019-01-13 14:54发布

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.

6条回答
兄弟一词,经得起流年.
2楼-- · 2019-01-13 15:30

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.

  1. In stall JavaHL (sudo apt-get install libsvn-java)
  2. After installing search for libsvnjavahl-1.so file using following command
    sudo find / -name libsvnjavahl-1.so
  3. Open eclipse.ini file (We can find in eclipse home folder) and edit. I use STS so sts.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

查看更多
SAY GOODBYE
3楼-- · 2019-01-13 15:31

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.

查看更多
The star\"
4楼-- · 2019-01-13 15:32

This is now solved with Subclipse 1.8 versions.

查看更多
何必那么认真
5楼-- · 2019-01-13 15:40

Under Window->Preferences->Team->SVN, SVN Connector tab, set the svn connector to the latest SVN kit, SVNKit 1.8.0:

SVNKit 1.9

查看更多
对你真心纯属浪费
6楼-- · 2019-01-13 15:47

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

查看更多
趁早两清
7楼-- · 2019-01-13 15:50

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:

  1. Make sure Eclipse's update sites are pointing to Polarion's recommendations. Here's what my update sites look like: Subversive
  2. You'll need the latest version of Subversive SVN Connectors, so make sure the Subversive update site is enabled and let Eclipse check for updates through Help, Check for updates.
    • Check Eclipse's Installation Details to confirm that you've got Subversive SVN Connectors version 2.3.0.I20120413-1700 or later. To do so, go to Help, About, then click "Installation details".
    • If you haven't gotten a new version, you might need to uninstall the old one, and grab the new one from the Subversive update site.
  3. Now you may update SVNKit. Select Help, Install new software to bring up the software installation window.
  4. Select the latest SVNKit (as of this writing, 1.7.4) and install it. Installing SVNKit 1.7.4
  5. Restart Eclipse.

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").

查看更多
登录 后发表回答