我刚刚创建在Eclipse中的小机器人项目,我要补充到版本控制哪些文件? [英] I have just created small android project in Eclipse, which files I should add to version control?

查看:170
本文介绍了我刚刚创建在Eclipse中的小机器人项目,我要补充到版本控制哪些文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道,哪些文件应该进行版本在Eclipse中创建一个新的Andr​​oid项目。谁能告诉我,什么我要补充?

I have no idea, which files should be versioned for a new android project created in eclipse. Could anyone tell me, what I should add??

推荐答案

pretty的你需要建立你的项目,其中包括每样东西:

Pretty much everything you need to build your project, including:

  • 的.project 的.classpath (是的,你应该明确添加它们,提供的.classpath不包括任何绝对路径:任何其它Eclipse的用户谁也访问你的版本项目将感谢你)
  • <一个href="http://stackoverflow.com/questions/445187/to-check-in-or-not-check-in-the-entire-eclipse-project/445252#445252"><$c$c>.settings内容(项目Eclipse的具体设置)
  • 其他构建相关的文件(如的pom.xml ,如果有的话)
  • <一个href="http://stackoverflow.com/questions/337304/which-eclipse-files-belong-under-version-control/337317#337317">launcher配置(同样,如果你有一些)
  • .project and .classpath (yes, you should definitively add them, provided the .classpath doesn't include any absolute path: any other Eclipse users who would access your versioned project will thank you for that)
  • .settings content (for project Eclipse specific settings)
  • other build-related files (like a pom.xml, if you have one)
  • launcher configuration (again, if you have some)

这是产生 没有(像<一个href="http://stackoverflow.com/questions/2615321/android-gen-folder-and-svn-bitter-enemies">directory )的应该被添加到源代码控制 <一href="http://stackoverflow.com/questions/2468725/which-information-files-of-an-eclipse-workspace-should-be-tracked-by-source-con">Workspace Eclipse的元​​数据不应该被任何版本。

正如我在说 <一个href="http://stackoverflow.com/questions/116121/do-you-keep-your-project-files-under-version-control/119377#119377">Do你一直在版本控制下的项目文件 ,我们的目标是缓和,加快签出工作区时,项目设置过程:?

As I said in "Do you keep your project files under version control?", the goal is to ease and quicken the project setup process when checked-out in a workspace:

加载它,将它设置,走吧。

"Load it up, set it up, go."

这篇关于我刚刚创建在Eclipse中的小机器人项目,我要补充到版本控制哪些文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆