Eclipse + Subclipse + SVN SSH Quick Tutorial
Posted in general - July 20, 2008
If you don't already have Eclipse PDT already go to eclipse.org/pdt and find a Stable build.
In Eclipse go to the Help > Software Updates > Find and Install
Select "Search for new features to install" and Click "New Remote Site"
Fill in the dialog with:
Name: Subclipse
URL: http://subclipse.tigris.org/update_1.4.x
"Subclipse" should be checked, Click Finish
Select the features to install:
Drop down the arrow next to "Subclipse 1.4.x" to expand the packages contents.
Only check the following items:
Subclipse
SVNkit Adapter (Important, the default JavaHL adapter doesn't support SSH and public key authentication... easily)
Accept the agreements and then click finish. When the packages are done downloading, click "Install All". Eclipse will ask you to restart eclipse, click yes.
Quick usage guide:
Your first checkout:
Right click in explorer > New > Project
SVN folder > Checkout projects from SVN > Next > Create a new repository location
Enter the location of the project you’re checking out e.g.
svn+ssh://example.com/my_repo/
Press Next
An Enter SSH credentials dialog will appear
Username: (your username)
Select "use private key authentication"
Choose the Private key authentication file
Click okay
Enter your first and last name, and check "Save author name"
Select the folder that you need to check out from the repository
Click next and then finish.
After First Checkout:
Right click (Eclipse Explorer) > New > Project > SVN > Checkout Projects from SVN
Click next choose the previously created repository location, Next
Choose what project you want to checkout, Next
If you want to import the project as a specific type (PHP project) select "Check out as a project configured using the New Project Wizard"
Click finish
In Eclipse go to the Help > Software Updates > Find and Install
Select "Search for new features to install" and Click "New Remote Site"
Fill in the dialog with:
Name: Subclipse
URL: http://subclipse.tigris.org/update_1.4.x
"Subclipse" should be checked, Click Finish
Select the features to install:
Drop down the arrow next to "Subclipse 1.4.x" to expand the packages contents.
Only check the following items:
Subclipse
SVNkit Adapter (Important, the default JavaHL adapter doesn't support SSH and public key authentication... easily)
Accept the agreements and then click finish. When the packages are done downloading, click "Install All". Eclipse will ask you to restart eclipse, click yes.
Quick usage guide:
Your first checkout:
Right click in explorer > New > Project
SVN folder > Checkout projects from SVN > Next > Create a new repository location
Enter the location of the project you’re checking out e.g.
svn+ssh://example.com/my_repo/
Press Next
An Enter SSH credentials dialog will appear
Username: (your username)
Select "use private key authentication"
Choose the Private key authentication file
Click okay
Enter your first and last name, and check "Save author name"
Select the folder that you need to check out from the repository
Click next and then finish.
After First Checkout:
Right click (Eclipse Explorer) > New > Project > SVN > Checkout Projects from SVN
Click next choose the previously created repository location, Next
Choose what project you want to checkout, Next
If you want to import the project as a specific type (PHP project) select "Check out as a project configured using the New Project Wizard"
Click finish
Posted By YouDon'tMeanMuch at 2:02 am
