Easy updating between two local computers

What would be the best (easiest?) way to share code that I am working on between two local computers? I just got a new laptop and I would like to be able to work elsewhere on my laptop, but be able to update the source on my main desktop computer when I go back to my house. So, is there any easier way to do this besides just copying the java files from one computer and pasting them into my workspace on the other?

I am currently using Eclipse as my IDE.

Yes, via source control management shizzle (SCM) such as SubVersion (SVN).

And if you’re using Eclipse, then Subclipse is a handy-dandy plugin which adds SVN support.

I switched to Subversive a while ago because of some Subclipse bug I can’t remember:


I guess they’re pretty much the same, but if one doesn’t work for you perhaps the other does.

Where should I host the SVN server?

Install SVN on your PC. You can connect and disconnect your laptop as you see fit.