Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse project "save as"

I'm quite new to android programming and I was wondering if there is a Save As button in Eclipse for the entire project instead of saving only 1 XML or Java at a time.

For example, when I work on Excel, sometimes I like to save different versions of Excel workbooks so that I can roll back if there is a problem. I want to do the same thing for Eclipse project files like Listv1, List v2, Listv3 etc.

I know you can use local history, but that is more for different versions of the XML and Java files. I want to save different versions of project files onto my hard drive so that I can compare two different versions of my project.

like image 358
Simon Avatar asked Nov 23 '25 19:11

Simon


2 Answers

Click on your open project in either the Project Explorer or Package Explorer windows. Then File/Copy (or Ctrl-C), then immediately File/Paste (or Ctrl-V). Your'll get a wizard to save the project under a new name.

like image 185
scottt Avatar answered Nov 26 '25 07:11

scottt


You need a lot more than manual saves: Any software project of any significant size should be using a version-control system. The one that's become the main standard these days is git.

Providing this sort of multiple versioning is the baseline that a VCS does, and most also handle situations like branching, where you can be working on the new version of your program but still go back and fix a bug in the old one, then push out a fix to the existing users while you keep working on the new version.

Eclipse has very good integration via the eGit plugin, and you might also be interested in the git-flow branching system.

like image 24
chrylis -cautiouslyoptimistic- Avatar answered Nov 26 '25 08:11

chrylis -cautiouslyoptimistic-