Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Help using SVN from within Eclipse

Subject: perfsonar development work

List archive

Re: [pS-dev] Help using SVN from within Eclipse


Chronological Thread 
  • From: Rade Martinović <>
  • To: "Michael Bischoff" <>
  • Cc: "perfSONAR developers" <>, <>, "Szymon Trocha" <>, <>, "Nina Jeliazkova" <>
  • Subject: Re: [pS-dev] Help using SVN from within Eclipse
  • Date: Fri, 19 Feb 2010 15:02:26 +0100
  • Importance: Normal
  • Organization: RCUB

Hello Michael!
 
Thank you for your quick response.
 
Unfortunately, your solution has not worked for me. When I created repository, the Eclipse just kept asking me for my credentials, although I have given him path to my keyfile, my username (svn) and my passphrase.
 
But, this gave me directions what to search for on the internet, and I have found a solution which worked for me. It is based on instructions found here (http://www.woodwardweb.com/java/howto_configure.html) with some slight alterations.
 
Basically, for step 1 listed there I just double-clicked my private key file and entered the passphrase, since I have complete PuTTy installed. A new icon appeared in the system tray, and I could verify that my key is loaded. I have tried connecting to svn server with PuTTy via ssh, and it was successful.
 
Only thing that I have altered is step 3, where for the value of SVN_SSH variable I have put C:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe -l svn
That is because the Eclipse kept asking me for my username for every operation that I did. This annoyed me, so I have found that this is the solution.
 
I'm now investigating is it possible not to install Tortoise, and just copy TortoisePlink.exe and required libraries to some directory, since my colleague strongly opposes installing Tortoise (for religious reasons Smeško Emotikon - just kidding, he just likes his software at bare minimum).
 
On a side note, since everyone uses "svn" as their access username, when it comes to committing  the code, would not everyone get credited as "svn"? I have not still tried to commit the code, but if everyone's username is "svn", then is this the username that gets credited for commits?
 
Once again, thank you for your help!
-- 
Rade Martinović, M.Sc.E.E
Software engineer

Belgrade University Computer Center
Kumanovska b.b. 11000 Beograd
Serbia

Tel:            +381-11-3031258
Fax:            +381-11-3031259
Email:          
Internet:       http://www.rcub.bg.ac.rs

From:
Sent: Thursday, 18 February, 2010 19:02
To:
Cc: ; ; ;
Subject: Re: [pS-dev] Help using SVN from within Eclipse

Hello Rade Martinović

Using the instructions here http://docs.codehaus.org/display/CASTOR/SVN+Access+from+Eclipse+Using+Subclipse
I've managed to get it to work on a windows machine (offcourse with a corrected url)

This solution does use JavaSVN, but I have no problems with it.

I would update the wiki but closed off.

Kind regards,

Michael

2010/2/18 Rade Martinović <>
Hello, everybody.
 
My colleague, Nemanja Žutić, and me are working on developing and maintenance of the PerfsonarUI.
 
Since recent migrations to new tools SVN also migrated to the new address and the "old" way of accessing SVN is now not valid, so one has to use svn+ssh. This has presented itself as a problem to Nemanja and me.
 
We are accustomed to work with repositories from within Eclipse, using Subclipse plugin. Using Subclipse plugin we never have to leave Eclipse environment in order to do simple operations such as update or commit, and we never have had any need for "advanced" operations that Tortoise offers.
 
That being said, I have encountered only this (http://wiki.geant.net/bin/view/SA2/CodeRepositoryAccess) guide concerned with accessing SVN. I could not find any information on Geant wiki how to set up Eclipse, where to put our private keys or anything specific on how to check out from this new SVN and work with it. Even more, I could not find any information how to set up Tortoise to work with this new SVN repository.
 
I have tried creating new repository location in Subclipse, but I only get following error message:  svn: Can't create tunnel: The system cannot find the file specified.
 
So, I am asking if anyone has information how to set up Sublicpse to work with svn+ssh on Windows, or if every piece of advice fails, how to set up Tortoise to work with new SVN repository.
 
Thank you!
-- 
Rade Martinović, M.Sc.E.E
Software engineer

Belgrade University Computer Center
Kumanovska b.b. 11000 Beograd
Serbia

Tel:            +381-11-3031258
Fax:            +381-11-3031259
Email:          
Internet:       http://www.rcub.bg.ac.rs




Archive powered by MHonArc 2.6.16.

Top of Page