Tag: svn
Using svn+ssh with Netbeans 5.5 + Windows
by jimmy on Nov.06, 2007, under English, Java, Programming
After you install Netbeans 5.5 you need to download/install subversion module.
At Netbeans menu select ‘Tools’ – ‘Update Center’ to add subversion module.
If the installation finished, you will see menu Subversion on Netbeans menu.
You’ll also need to install SVN : download page here
I’m using PuTTY’s plink.exe for ssh. You can get PuTTY package here.
Extract PuTTYto a directory and add path to that directory.
How to setting enviroment variables in Windows:
- Open System Properties (by right click ‘My Computer’ – ‘Properties or by press button ‘windows’ + ‘break’)
- Select tab Advanced & click button ‘Environment Variables’
- You can edit System Variable : ‘path’
- Add path to your PuTTY directory. (don’t delete other path, just add with ‘;’ as separator)
- OK
- You can check whether you have correctly add PuTTY’s path by running console (cmd) and run plink.exe without fullpath.
Then open subversion configuration file at : %APPDATA%\Subversion\config
Assuming you using default folder it will be : “c:\Documents and Settings\username\Application Data\Subversion\config”
Open file config using notepad or other text-editor.
Edit the [tunnels] section and add :
ssh = $SVN_SSH plink.exe -l <username> -pw <password>
Of course change the <username> and <password> with yours. lol.
Then save it & restart your Netbeans.
After that you should able to check out/import project via svn+ssh.
- Select menu ‘Subversion’ – ‘Checkout…’
- URL example : svn+ssh://100.1.1.1/opt/subv/myproject/trunk
- Leave username & password empty
- Click next & follow the instructions.
If there’s no errors then Congratulations