I am trying to checkin the project in to SVN repository. So I right click on the project then selected Team then Commit. And when I do commit I get--
我正在尝试将项目签入SVN储存库。所以我右键点击项目然后选择团队然后提交。当我做承诺的时候。
Some of selected resources were not committed.
svn: Commit failed (details follow):
svn: Working copy 'C:\workspace\crawler4j\target' is missing or not locked
Any suggestions how to overcome this will be appreciated,
任何关于如何克服这一点的建议都将被欣赏,
3 个解决方案
#1
1
Sometimes, it's simply easier to open a Subversion command line client and take a look at that. I suggest that you install a command line client, go to the directory, and do a svn status
. I would also look at svn info
on the various directories and files and make sure they're all on the same working directory. (You can do a svn status -v
to get that information).
有时,打开Subversion命令行客户端并查看它更容易。我建议您安装一个命令行客户端,转到目录,然后执行svn状态。我还会查看各种目录和文件中的svn信息,并确保它们都在同一个工作目录中。(你可以做一个svn状态-v来得到这个信息)。
My feeling is that the target
directory should not be added or have been added to your project. This directory in Maven is used for built objects which should not be committed into your Subversion repository. Even many Ant build scripts follow Maven in this.
我的感觉是目标目录不应该被添加或添加到您的项目中。Maven中的这个目录用于构建不应该提交到Subversion存储库的对象。甚至许多Ant构建脚本都遵循Maven的原则。
So, what is the status of the target
directory? What happens when you do an update on the directory before committing your changes? (I believe it's Team->Update
).
那么,目标目录的状态是什么?在提交更改之前,在目录上执行更新会发生什么?(我相信这是团队- >更新)。
#2
0
http://subclipse.tigris.org/wiki/PluginFAQ#head-73584410a8d4fbad6781c7b16be39f6518410a61 here you can find the solution
你可以在这里找到解决方案。
#3
0
In Eclipse Kepler try to run Team>cleanup
在Eclipse中,开普勒试图运行团队>清理。
#1
1
Sometimes, it's simply easier to open a Subversion command line client and take a look at that. I suggest that you install a command line client, go to the directory, and do a svn status
. I would also look at svn info
on the various directories and files and make sure they're all on the same working directory. (You can do a svn status -v
to get that information).
有时,打开Subversion命令行客户端并查看它更容易。我建议您安装一个命令行客户端,转到目录,然后执行svn状态。我还会查看各种目录和文件中的svn信息,并确保它们都在同一个工作目录中。(你可以做一个svn状态-v来得到这个信息)。
My feeling is that the target
directory should not be added or have been added to your project. This directory in Maven is used for built objects which should not be committed into your Subversion repository. Even many Ant build scripts follow Maven in this.
我的感觉是目标目录不应该被添加或添加到您的项目中。Maven中的这个目录用于构建不应该提交到Subversion存储库的对象。甚至许多Ant构建脚本都遵循Maven的原则。
So, what is the status of the target
directory? What happens when you do an update on the directory before committing your changes? (I believe it's Team->Update
).
那么,目标目录的状态是什么?在提交更改之前,在目录上执行更新会发生什么?(我相信这是团队- >更新)。
#2
0
http://subclipse.tigris.org/wiki/PluginFAQ#head-73584410a8d4fbad6781c7b16be39f6518410a61 here you can find the solution
你可以在这里找到解决方案。
#3
0
In Eclipse Kepler try to run Team>cleanup
在Eclipse中,开普勒试图运行团队>清理。