If this works you have a working subversion client on windows, which is 80% of the battle!ĥ.In Netbeans go to Tools/Options/Miscellaneous/Versioning and set the Path to the SVN Client to:Ĭ:\Program Files\CollabNet\Subversion ClientĦ. svn ls svn+ssh:///path/to/remote/svn-repo Test the subversion client from the command line with: Adding this line to the config file tells the Subversion Client what command to use with URLs of the form svn+ssh.Ĥ. The path to plink.exe should be changed to wherever you put plink. Here you use forward slashes, because the Subversion Client will translate them. Ssh = c:/Program Files/putty-0.60/plink.exe -v -l -i c:/path/to/keyfile/id_rsa_putty.ppk In that section, after all the comments, add a line: (It’s possible you have to run the Subversion Client once to cause this directory to be created.) Edit the config file in that directory. Look in your Application Data directory for the Subversion subdirectory. You’ll need backward slashes if you run it in the traditional unix command console.)Ģ. (plink is not a good client to actually use for ssh - prefer putty - but this is a simple test that it’s working.) (I’m using forward slashes in the above because I run it in cygwin shells. The result should be an ssh session to your remote host. PLINK.EXE -v -l -i c:/path/to/key/file/id_rsa_putty.ppk ssh key for putty using ssh-keygen, store it in a safe place on your Windows computer, and install the key in the authorized_keys file on your Unix server. First install the full putty from the web site. Plink will be used by CollabNet to tunnel svn+ssh subversion connections. Get plink (from putty) working on your box. I’m just going to describe one simple alternative, that assumes that you have a shell account on the Unix computer that contains your subversion repository.) Here are the steps:ġ. (Part of what makes the documentation a bit complicated is that there are many alternatives. It’s easiest to break the setup into steps, and get each of them working before moving on to the next step. (This is not a differentiator with Eclipse, just a comment.) However, getting subversion working reliably with netbeans on a windows box is a bit fiddly, and the online documentation makes it seem easier than it is. I’ve enjoyed Netbeans’ built-in subversion support. Overall Netbeans has been an even better experience than Eclipse for teaching - though both have a steeper learning curve than I’d prefer. For my teaching I’ve been using Netbeans this semester, which has overall been wonderful.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |