2012-12-02 125 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打開它時你不能覆蓋該文件。