首页 > 代码库 > SVN clearup提示Path is not a working copy directory

SVN clearup提示Path is not a working copy directory

原因:eclipse把src文件夹中的.svn文件夹也"编译"到WEB-INF/classes中去了,而复制过来的.svn中存储的是src文件夹中的版本信息,从而导致在更新时出错。

解决:Eclipse中的 Project->Properties->Java Build Path 菜单,在右侧面板中的"Source"选项卡,在Excluded中加入"**/.svn/**"。也就是把.svn文件夹从编译路径中排除,这样就不会出现上面的问题了。

SVN clearup提示Path is not a working copy directory