What of Eclipse project .metadata can I safely ignore in Git/Mercurial?

后端 未结 5 1034
攒了一身酷
攒了一身酷 2021-01-30 03:36

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 s

5条回答
  •  既然无缘
    2021-01-30 03:53

    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.

提交回复
热议问题