We have the code for an Eclipse RCP application in an Eclipse workspace containing multiple Java projects. We are using Mercurial with a simple .hgignore just *.class (but the same issue would pertain to Git).
Even a small change to the code can result in many of the files in .metadata getting changed.
I'd like to exclude some or all of the .metadata from version control. If we exclude it completely, the workspace is lost.
Does anyone know what we can safely exclude? Alternatively, how can we recreate it if we pull the code down to a fresh computer?
The files i'm personally aware of are:
Somewhere, i have an Eclipse workspace used for testing some Eclipse-related tools that is pretty severely cut down, but works. I'll see if i can dig it out.