Issue
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?
Solution
The files i'm personally aware of are:
- version.ini (not very exciting)
- .plugins/org.eclipse.jdt.core/variablesAndContainers.dat (classpath variables)
- .plugins/org.eclipse.core.resources/.projects/*/.location (projects in the workspace)
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.
Answered By - Tom Anderson
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.