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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -