【问题标题】:Eclipse Subversion Repository Import IssueEclipse Subversion 存储库导入问题
【发布时间】:2012-12-02 16:49:11
【问题描述】:

我的 Eclipse Subversion 存储库有问题。显然,我正在开展一个项目,我们的团队在该项目中最新添加的内容正在上传到存储库。我从我们的存储库中导入了一个名为“Test”的文件夹,后来又删除了它……现在我在导入同一个文件夹时遇到了问题。尝试导入时出现以下错误:

“SVN 导入”遇到问题。

org.apache.subverison.javahl.ClientException:  The process cannot access the file  because another process has locked a portion of the file.
svn: Can't read file 'C:\Users\Submersed\workspace\.metadata\.lock': The process cannot access the file because another process has locked a portion of the file.  

org.apache.subversion.javahl.ClientException: The process cannot access the file because another process has locked a portion of the file.  
svn: Can't read file 'C:\Users\Submersed\workspace\.metadata\.lock': The process cannot access the file because another process has locked a portion of the file.  

我尝试删除.metadata\.lock 文件,并尝试完全重新安装eclipse 和subversion。我已经能够将数据导入到外部驱动器,但是无法将其仅存储在本地驱动器上很麻烦。

如果有人知道问题可能是什么,请告诉我。

谢谢!

【问题讨论】:

    标签: java eclipse svn subclipse


    【解决方案1】:

    您不应该检查整个工作区。您应该只签入没有元数据的项目并生成工作空间。您可以使用mavenMaven to Eclipse 等工具生成项目配置。所以你可以避免不同路径等问题。

    如果您必须检查整个工作区,请使用命令行工具。 Eclipse 在您的工作区打开时持有锁定文件,因此您无法在 Eclipse 打开该文件时覆盖该文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-29
      • 1970-01-01
      • 1970-01-01
      • 2014-05-15
      • 1970-01-01
      相关资源
      最近更新 更多