Difference between revisions of "Your First Connection to a SVN Repository"

From CDOT Wiki
Jump to: navigation, search
(Created page with '== Your First Connection to an SVN Repository == First, start with a new Eclipse and select '''File''', '''New''', '''Other'''. left|thumb<br style="clear:left;"…')
 
(Your First Connection to an SVN Repository)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
First, start with a new Eclipse and select '''File''', '''New''', '''Other'''.
 
First, start with a new Eclipse and select '''File''', '''New''', '''Other'''.
 
[[Image:s1.png|left|thumb]]<br style="clear:left;" />
 
[[Image:s1.png|left|thumb]]<br style="clear:left;" />
 +
Select "'''Checkout Projects from SVN'''" and click '''Next'''.
 +
[[Image:s2.png|left|thumb]]<br style="clear:left;" />
 +
Click Next on "'''Create a new repository location'''".
 +
[[Image:s3.png|left|thumb]]<br style="clear:left;" />
 +
For the URL enter "'''svn://zenit.senecac.on.ca/ecl500/Lectures'''".
 +
[[Image:s4.png|left|thumb]]<br style="clear:left;" />
 +
Enter "guest" for the user name and "1673852" for the password. Also check the "Save Password" box - the password will be saved in your .subversion directory.
 +
[[Image:s5.png|left|thumb]]<br style="clear:left;" />
 +
You may now select the folder you wish to checkout.
 +
[[Image:s6.png|left|thumb]]<br style="clear:left;" />
 +
Select the "'''w11-basics-hello'''" folder.
 +
[[Image:s7.png|left|thumb]]<br style="clear:left;" />
 +
Click '''Finish''' to complete your checkout.
 +
[[Image:s8.png|left|thumb]]<br style="clear:left;" />
 +
Open "'''BasicHello.java'''" so it's visible in your editor.
 +
[[Image:s9.png|left|thumb]]<br style="clear:left;" />
 +
Finally Run your program as a Java Application.
 +
[[Image:s10.png|left|thumb]]<br style="clear:left;" />
 +
'''Congratulations!''' You've checked out a Java application from an SVN repository and compiled and ran it.

Latest revision as of 17:13, 19 January 2011

Your First Connection to an SVN Repository

First, start with a new Eclipse and select File, New, Other.

S1.png

Select "Checkout Projects from SVN" and click Next.

S2.png

Click Next on "Create a new repository location".

S3.png

For the URL enter "svn://zenit.senecac.on.ca/ecl500/Lectures".

S4.png

Enter "guest" for the user name and "1673852" for the password. Also check the "Save Password" box - the password will be saved in your .subversion directory.

S5.png

You may now select the folder you wish to checkout.

S6.png

Select the "w11-basics-hello" folder.

S7.png

Click Finish to complete your checkout.

S8.png

Open "BasicHello.java" so it's visible in your editor.

S9.png

Finally Run your program as a Java Application.

S10.png

Congratulations! You've checked out a Java application from an SVN repository and compiled and ran it.