Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I back-up my java project in Eclipse?

I'm new to development and I'm sure this is a silly question but i can't work out how i should be backing-up copies of my project. When everything's working right i want to save a copy/make a back-up so that if i ever mess everything up i'll have something i can go back to, but of course it's not as simple as just copying a file like i normally would for anything else. Sorry for the silly query, but if someone could point me in the right direction as to how i should go about this that would be great!

like image 941
Holly Avatar asked Dec 09 '10 15:12

Holly


People also ask

How do I backup a Java project in Eclipse?

You can back up your project directory (just make a copy, zip, etc) but I would advise you to have a look at version management (cvs, subversion, git, whatever you like). With version management you can go back to any state, create different development branches etc...


2 Answers

Even without resorting to a version management, Eclipse provides a similar feature: in the Preferences, go to General -> Workspace -> Local History

like image 59
Volker Stolz Avatar answered Oct 16 '22 04:10

Volker Stolz


When everything's working right i want to save a copy/make a back-up so that if i ever mess everything up i'll have something i can go back to

A version control system is perfect for you. Eclipse allows to clone your repository into a version control system such as CVS, SVN, Mercurial, Clearcase, Git, etc.

For me, I use Mercurial (previously using SVN), and its Eclipse plugin can be found on JavaForge.

like image 38
Buhake Sindi Avatar answered Oct 16 '22 04:10

Buhake Sindi