Eclipse: which files to store in version control for GWT project
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.
If your project is located outside your workspace, I would store everything but:
- the
bin
orcls
(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)
精彩评论