Archive for category svn

Attempted to lock an already-locked dir svn: Working copy


Subversion supports a command named “Cleanup”; it is used to release the locks on a project.

If you have faced with the above issue while no one has locked the project files, you can run this command and resolve the issue.
You do this in Eclipse by right clicking the project; then Team->Cleanup

Leave a comment

svn ignore or exclude target folder


Problem: How to ignore target and other folders during svn synchronization in eclipse

Solution:

First of all, the best practice is not to check in any folders which could be modified outside subversion context e.g. target, logs etc.

To avoid these folders appear every time when you synchronise add them to svn:ignore, usually by right clicking and selecting the target to add to svn:ignore or from project properties.

Leave a comment