java - Should I keep my project files under version control? -


should keep project filesm eclipse's .project, .classpath, .settings, under version control (e.g. subversion, github, cvs, mercurial, etc)?

you want keep in version control any portable setting files,
meaning:
file has no absolute path in it.
includes:

  • .project,
  • .classpath (if no absolute path used, possible use of ide variables, or user environment variables)
  • ide settings (which disagree 'accepted' answer). settings includes static code analysis rules vitally important enforce consistently user loading project his/her workspace.
  • ide specific settings recommandations must written in big readme file (and versionned of course).

rule of thumb me:
must able load project workspace , have in need set in ide , going in minutes.
no additional documentation, wiki pages read or not.
load up, set up, go.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -