Checking in a designer project to a SVN server fails for some reason. My
setup is as follows:
- Designer 4.0.2 AU5
- SVN server on a CentOS 7 server with subversion 1.7
- SVN user authentication setup as per designer documentation
- Using svn://user@localhost/ as SVN connection protocol

When i try to do the check in for the project, I'm able to point to the
repository (svn://user@localhost/). When choosing project location,
designer correctly shows the SVN server root contents (like the trunk
directory), but when I try to expand the trunk to see the folders below
it, designed shows an error message "The path trunk does not exist on
the server user@localhost". I can however select trunk as the location,
and designed then proposes trunk/PROJECT as the location.

Now, when I press OK to start the check in, designer starts checking in
the 3477 files into the version control, but fails immediately. The
error message given is:

There was an error adding your project to version control. Please make
sure that your version control server URL
(svn://user@localhost/trunk/PROJECT) is correct.
Reason:
org.tigris.subversion.svnclientadapter.SVNClientEx ception:
org.tigris.subversion.javahl.ClientException: svn: File already exists:
filesystem '/var/svn/db', transaction '7-k', path '/trunk'
org.tigris.subversion.javahl.ClientException: svn: File already exists:
filesystem '/var/svn/db', transaction '7-k', path '/trunk'

When I enable logging on the SVN server, I can see to following events
in the log:
svn reparent /trunk/PROJECT
svn get-latest-rev
svn stat /trunk/PROJECT/trunk/PROJECT@7
svn reparent /trunk
svn get-latest-rev
svn stat /trunk/trunk@7
svn reparent /
svn get-latest-rev
svn stat /@7

What puzzles me here is the duplication of the folder name in the log
(/trunk/PROJECT/trunk/PROJECT instead of /trunk/PROJECT). I have had
previous success with designer 4.0.2 (without any updates) and svn,
could it be that this is somehow broken in the latter versions? I am
also able to use the same SVN repository with other java projects using
eclipse luna + subversion plugin + SVNkit 1.7.8, so the SVN server
itself should be just fine.

Any clues?

-Ville


--
sulkovi
------------------------------------------------------------------------
sulkovi's Profile: https://forums.netiq.com/member.php?userid=5210
View this thread: https://forums.netiq.com/showthread.php?t=52099