Server sent unexpected return value (405 Method Not Allowed) in response to MKCOL request error in svn

The error pops up when trying to commit to the repository.

This SVN error happens when trying to add the directory/file to the repository while the directory is already existing.

It can happen when one of the coworker creates a directory and commits and the other one tries the same task [svn add directory/file] without updating from trunk first.

Solution

A couple of options are there for this.

1. Update to the repository and deal with the conflicts if there are any.
2. if the created directory is assumed to be redundant, delete the directory and recommit it.

Also: Checkout how to identify changes in SVN

SVN integration to Eclipse setup and error – unable to load default svn client

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vmargs
-Djava.library.path=/usr/share/java/
-Djava.library.path=/usr/lib/jni/
-Xms128m
-Xmx512m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

http://subclipse.tigris.org/update_1.6.x – depends on what eclipse you have – check this for compatibility. how do i know what version i have.

sudo apt-get install libsvn-java

default path /usr/lib/eclipse/eclipse.ini

http://ubuntuforums.org/showthread.php?t=916633

One of prevailing repository tools is SVN. I like and use it. I am also a fun of eclipse. The two would make programming cool.

To install SVN in eclipse

Go to http://subclipse.tigris.org/ and see the download and install link. Check which to install based on the Eclipse version – which is depicted on the page.

Install JavaHL

From your command line in Linux: sudo apt-get install libsvn-java.
This is the major factor for the unable to load default svn client error.

Finally

Update your eclipse.ini by adding this line just next to -vmargs at the end
-Djava.library.path=/usr/share/java/
-Djava.library.path=/usr/lib/jni

The location of eclipse.ini would be in your installation folder. The default location for eclipse which loaded from package would be /usr/lib/eclipse/eclipse.ini

Now, restart your Eclipse and enjoy SVNing.