[英]Android is there a easy way to back up your android project?
I keep messing up my android project. 我一直搞乱我的android项目。 I started save ing whole work space. 我开始节省整个工作空间。 Is there a way to simply backup your peoject? 有没有办法简单地备份您的项目? For example iphon has a thing called snap shoot. 例如,iphon有一个叫做拍摄的东西。 Is there something like this in eclips? 在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 . 我个人使用的颠覆和免费托管网站unfuddle 。
Other user suggested options... 其他用户建议的选项......
Revision control programs: 修订控制程序:
Hosting Options: 托管选项:
You can also revert to a previous version if you are using Eclipse. 如果您使用的是Eclipse,也可以恢复到以前的版本。 Eclipse has this nice functionality called Local history that allows it. Eclipse有一个很好的功能叫做Local history ,允许它。 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 " 可以在“ 常规 ” - >“ 工作区 ” - >“ 本地历史记录 ”中的Eclipse首选项中配置旧版本的条目数和保存期限
I recommend downloading TortoiseSVN and using Subclipse. 我建议下载TortoiseSVN并使用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) 或者开始使用subversion(eclipse插件:subclipse)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.