|
Re: Problem with SVN auth from headless buckminster [message #514046 is a reply to message #513921] |
Fri, 12 February 2010 09:42 |
|
Hi Andrey,
One way of doing this is to create a template workspace where you have added the repository location with credentials. I.e.
1. Start your IDE on a new workspace.
2. Add the repository location with credentials in the SVN repository view
3. Exit your IDE.
4. Create a zip of the workspace.
5. Use the zip as template workspace (i.e. -T <zip file>) when you import.
Buckminster will match the location found in the RMAP against any existing repository locations and thus, make use of
the credentials that you have added.
HTH,
Thomas Hallgren
On 02/11/2010 05:34 PM, Chicherin Andrey wrote:
> Hi,
>
> I`m trying to set up the buckminster to work with a svn repository which
> requires an authentication.
>
> At my rmap i`ve tried to use the scheme like this:
>
> <uri format="svn://user:password@host/..
>
> but it didn`t work.
>
> I`m using Subclipse headless adapter
> (org.eclipse.buckminster.subclipse.headless 1.0.0.r10759)
>
> After some debugging, I see that m_clientAdapter (in
> org.eclipse.buckminster.subclipse.internal.SvnSession) isn`t initialized
> by username and password from initial svn repo url.
>
> Is it a bug?
> or where am I wrong?
>
> Thanks in advance.
|
|
|
Re: Problem with SVN auth from headless buckminster [message #514053 is a reply to message #514046] |
Fri, 12 February 2010 05:20 |
|
One thing that I forgot to add. You must use Subclipse with SVNKit in your IDE since SVNKit is used by the headless
environment. SVNKit and JavaHL will not store the credentials in the same place.
- thomas
On 02/12/2010 10:42 AM, Thomas Hallgren wrote:
> Hi Andrey,
> One way of doing this is to create a template workspace where you have
> added the repository location with credentials. I.e.
>
> 1. Start your IDE on a new workspace.
> 2. Add the repository location with credentials in the SVN repository view
> 3. Exit your IDE.
> 4. Create a zip of the workspace.
> 5. Use the zip as template workspace (i.e. -T <zip file>) when you import.
>
> Buckminster will match the location found in the RMAP against any
> existing repository locations and thus, make use of the credentials that
> you have added.
>
> HTH,
> Thomas Hallgren
>
>
> On 02/11/2010 05:34 PM, Chicherin Andrey wrote:
>> Hi,
>>
>> I`m trying to set up the buckminster to work with a svn repository which
>> requires an authentication.
>>
>> At my rmap i`ve tried to use the scheme like this:
>>
>> <uri format="svn://user:password@host/..
>>
>> but it didn`t work.
>>
>> I`m using Subclipse headless adapter
>> (org.eclipse.buckminster.subclipse.headless 1.0.0.r10759)
>>
>> After some debugging, I see that m_clientAdapter (in
>> org.eclipse.buckminster.subclipse.internal.SvnSession) isn`t initialized
>> by username and password from initial svn repo url.
>>
>> Is it a bug?
>> or where am I wrong?
>>
>> Thanks in advance.
>
|
|
|
|
|
|
|
|
|
Re: Problem with SVN auth from headless buckminster [message #533250 is a reply to message #533238] |
Wed, 12 May 2010 17:06 |
|
https works, but you might need to use it from a browser or wget first to accept a certificate exception.
- thomas
On 05/12/2010 06:25 PM, Henrik Lindberg wrote:
> afaik, it should work (deferring to Thomas here...)
>
> - the advice is simply to use svn+ssh if possible as it is more secure
> and does not require advanced property gymnastics trying to hide
> user/password in clear text in properties files.
>
> Regards
> - henrik
>
> On 5/12/10 6:03 PM, Sam Jones wrote:
>> For mine, our team is currently just using anonymous/anonymous, so
>> security isn't a huge problem. I will see if I can get SSH access set up
>> any time soon (we're not in charge of the repo), but basic https access
>> would be much simpler. Is it known and accepted that https doesn't work
>> in a headless environment?
>
|
|
|
Powered by
FUDForum. Page generated in 0.04137 seconds