63
edits
Changes
→Performing Your First Commit
== Performing Your First Commit ==
Start in the SVN perspective and checkout your project.
[[Image:com1.png|left|thumb]]<br style="clear:left;" />
Select the local location where you want to download the project.
[[Image:com2.png|left|thumb]]<br style="clear:left;" />
If the project already exists in your workspace you can try to delete it.
[[Image:com3.png|left|thumb]]<br style="clear:left;" />
If you have trouble deleting the project you can always go into the java perspective and delete it first before trying to checkout one by the same name.[[Image:del1.png|left|thumb]]<br style="clear:left;" />Back in SVN view notice the revision number after you've checked out your project. In my case it's revision number 25. You can see this in the console view.
[[Image:com4.png|left|thumb]]<br style="clear:left;" />
Bring the BasicHello class into the edit window.
[[Image:com5.png|left|thumb]]<br style="clear:left;" />
Make some changes to your program. Save it, then compile and run it to ensure it runs correctly.
[[Image:com6.png|left|thumb]]<br style="clear:left;" />
Now right click on your project and select Team followed by Commit.
[[Image:com7.png|left|thumb]]<br style="clear:left;" />
Enter a comment to describe your change.
[[Image:com8.png|left|thumb]]<br style="clear:left;" />
Notice the commit timestamp and version number (now 26) in the Project Explorer view.
[[Image:com9.png|left|thumb]]<br style="clear:left;" />
Go back to the SVN perspective and pull down the program into the edit window. Notice that it is now changed. Also notice the revision number is now 26.
[[Image:com10.png|left|thumb]]<br style="clear:left;" />
'''Congratulations!''' You've successfully performed your first commit.