Eclipse:要在GWT项目的版本控制中存储哪些文件 [英] Eclipse: which files to store in version control for GWT project

查看:62
本文介绍了Eclipse:要在GWT项目的版本控制中存储哪些文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Mercurial在Eclipse中进行GWT项目的版本控制.

I'm working on a GWT project in Eclipse with Mercurial for revision control.

我应在版本控制下存储哪些文件?或者,也许更简洁地说,我不应该存储哪些文件,因为它们要么是GWT的一部分,要么是构建过程的构件?

Which files should I store under version control? Or, perhaps more succinctly, which files should I not store since they are either part of GWT or are artifacts of the build process?

我正在使用Eclipse Helios和GWT 2.0.4.这个问题将适用于任何版本控制系统:Mercurial,Subversion(SVN),CVS等.

I'm using Eclipse Helios and GWT 2.0.4. This question would apply to any version control system: Mercurial, Subversion (SVN), CVS, etc.

推荐答案

如果您的项目位于工作区的外部,我将存储除以下内容以外的所有内容:

If your project is located outside your workspace, I would store everything but:

  • the bin or cls (that is the directory where .class files are generated).
  • any directory/file with generated content

确保您利用相对您的 .project / .classpath 中的路径(自Eclipse 3.5.2起)

Make sure you take advantage of relative paths in your .project/.classpath (since Eclipse 3.5.2)

这篇关于Eclipse:要在GWT项目的版本控制中存储哪些文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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