Eclipse: which files to store in version control for GWT project

て烟熏妆下的殇ゞ 提交于 2021-02-07 07:21:31

问题


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

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?

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


回答1:


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

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



来源:https://stackoverflow.com/questions/3182809/eclipse-which-files-to-store-in-version-control-for-gwt-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!