[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] UserInfo in Repository URL is Ignored

From: Craig Milo Rogers <rogers_at_isi.edu>
Date: 2006-08-03 15:48:22 CEST

        There is a bug in subclipse or in javasvn; I don't know which.
General configuration:

1) SuSE Linux 10.1, x86_64

2) Eclipse 3.2

3) Subclipse 1.0.3

4) javasvn from subclipse or 1.1.0beta4 from the web site

        Steps to reproduce the problem after installing Subclipse
and JavaSVN:

0) Ensure that Window->Preferences->Team->SVN->SVN Interface is
        set to JavaSVN.

1) Eclipse menu: Window -> Open Perspective -> Other
        Select SVN Repository Viewing.

2) In the SVN Repository window:
        context right click -> new -> repository location

3) The "Add a new SVN Repository" window appears. Enter a Location
        URL such as:

        svn+ssh://serveruser@server.isi.edu/path/to/repository

        where <serveruser> is different from the username on the workstation
        running Eclipse.

        Click Finish.

4) A Repository Password window appears. The top field is labeled
        "Repository:, and contains something like:

        svn+ssh://server.isi.edu

        The next field is labeled "Username:", and ought to contain
        the <serveruser> entered in the URL in (3). Instead, it
        contains the username of the user on the workstation running
        Eclipse. This is the bug.

        If is necessary to replace the username in this form with the
        <serveruser> value in order to eventually connect to the
        SVN server.

        I must confess, I just spent several fruitless hours staring
at the source code for both subclipse and javasvn. I attempted some
changes in the javasvn file JavaHLAuthenticationProvider.java (see
attachment) without apparent success. It is possible that Subclipse
is setting the username before calling JavaSVN.

        I also have access to a Windows XP system with Eclipse 3.2, using
the JavaHL SVN Interface. It correctly connects to the SVN server, without
passing though a repository password dialog box.

                                        Craig Milo Rogers

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org

Received on Thu Aug 3 15:53:09 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.