Book a Demo

Author Topic: Please help - Problem with Subversion  (Read 3097 times)

jamessher

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Please help - Problem with Subversion
« on: October 06, 2006, 04:19:27 am »
Hi,
I am following the instructions to add a project to subversion for the first time. The subversion server (via apache) is working fine as are client apps (svn, TortoiseSVN). I set up EA to use subversion as recommended by the docs.
When I try to control a package from EA for the first time I get an error
Authentication realm: <http://xxx.yyy.zz:80> Subversion repository
svn: Commit failed (details follow):
svn: MKACTIVITY of '/svn/!svn/act/.....': authorization failed (http://xxx.yyy.zz)

I see the following logs in httpd.conf
a.b.c.d - - [06/Oct/2006:12:07:09 +0100] "OPTIONS /svn/messea1/trunk HTTP/1.1" 200 183 "-" "SVN/1.4.0 (r21228) neon/0.26.1"
a.b.c.d - - [06/Oct/2006:12:07:10 +0100] "MKACTIVITY /svn/!svn/act/8e461971-462b-584d-8dbd-6c6d75c33f3b HTTP/1.1" 401 485 "-" "SVN/1.4.0 (r21228) neon/0.26.1"

Anyone have any ideas ?

When using svn at the command line I used a username I set up on the server (htpasswd) and this worked fine. Presumably EA knows that I am 'logged in' to subversion ?

Thanks
  James

ea1005

  • Guest
Re: Please help - Problem with Subversion
« Reply #1 on: October 06, 2006, 06:54:29 am »
Enterprise Architect assumes that your machine has already authenticated itself with Subversion. It does not prompt for username and password.

Try this:

Open the TortoiseSVN repo browser.
Authenticate yourself to Subversion by browsing a directory.
Make sure you check the "Save Authentication" checkbox when it asks you for user and password.

Then try running EA.

jamessher

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Please help - Problem with Subversion
« Reply #2 on: October 06, 2006, 08:45:17 am »
Thanks for the advice. I managed to get it working by ensuring that I added my Windows username and password (htpasswd). I did not appear to need to "Save Authentication" as you suggested. This would appear to show that EA can authenticate in some other way.
Anyway I would prefer to not configure Win usernames in apache server so I will try your suggestion and see if it works.

jamessher

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Please help - Problem with Subversion
« Reply #3 on: October 11, 2006, 02:49:29 am »
Your suggestion did work by the way. ie. use Tortoise SVN to 'save authentication'. I was able to remove Win username/password from htpasswd file and use non-Win usernames instead.

-- James