Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 793
Barry Brown Avatar asked Nov 06 '22 11:11

Barry Brown


1 Answers

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)

like image 185
VonC Avatar answered Nov 12 '22 10:11

VonC