which eclipse project/workspace files should be added to source control?

后端 未结 3 1242
逝去的感伤
逝去的感伤 2021-01-31 20:26

I want to share an eclipse project with the rest of my team through SVN. Which files should I add to subversion? In the workspace, there are many files which IMHO are n

3条回答
  •  -上瘾入骨i
    2021-01-31 20:48

    With Eclipse, you always have to import a project - there is no other way to do it - Eclipse won't detect projects if you just switch workspaces unless you've created/imported the project in that workspace before.

    You will need at a minimum:

    • .project
    • .classpath

    Personally I also add the settings folder, but its up to you:

    • .settings

    Then other users choose Import project and select the .project file.

提交回复
热议问题