开发者

Android is there a easy way to back up your android project?

I keep messing up my android project. I started save ing whole work space. Is there a way to simply backup your peoject? For example iphon has a thing ca开发者_StackOverflowlled snap shoot. Is there something like this in eclips?


Ted,

Have you considered a source code revision control system??

There are a lot of options for this. I personally use subversion and a free hosting site unfuddle.

Other user suggested options...

Revision control programs:

  • subversion
  • Mercurial
  • Git
  • CVS (older)
  • tortoiseSVN
  • subclipse

Hosting Options:

  • bitbucket
  • google code (must be open source)


You can also revert to a previous version if you are using Eclipse. Eclipse has this nice functionality called Local history that allows it. Right click on a file and use "compare with..." -> "Local History".

You can then compare your current version with old ones. You can merge select part of the code or right click on the old version and replace all your current version with the old one.

Number of entries and duration of conservation of old version can be configured in Eclipse preferences in "General" -> "Workspace" -> "Local history"


I recommend downloading TortoiseSVN and using Subclipse. Look those up.


You could just create a backup of the project folder, rather than the entire workspace. Then if you need it again, create a new project from existing source using that folder later.


File -> Export... -> General -> Archive File

Or start using subversion (eclipse plugin: subclipse)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜