2012-12-02 129 views
1

我遇到了我的Eclipse Subversion存储库问题。显然,我正在开发一个项目,在这个项目中,我们的团队最新增加的内容将被上传到版本库。我从我们的名为“Test”的存储库中导入了一个文件夹,之后将其删除了......现在,我遇到了导入相同文件夹的问题。当试图导入我得到以下错误:Eclipse Subversion存储库导入问题

'SVN Import' has encountered a problem.

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和完全颠覆。我已经能够将数据导入到外部驱动器,但是无法将其存储在本地驱动器上是一件麻烦事。

如果任何人有什么问题可能,请让我知道。

谢谢!

回答

1

您不应该检查整个工作区。您应该只检查没有元数据的项目并获取生成的工作区。您可以使用mavenMaven to Eclipse等工具生成项目配置。因此,您可以避免不同路径的问题等。

如果您必须检查整个工作区,请使用命令行工具。 Eclipse在你的工作区打开时保存锁文件,所以在eclipse打开它时你不能覆盖该文件。