Should Eclipse-specific files in an VCS be ignored, if using Maven?

后端 未结 4 1745
轻奢々
轻奢々 2021-02-08 05:23

I know why not to commit Eclipse/IDE-specific files into a VCS like Git (which I am actually using). That is one of the reasons I am using Maven and having it generating these f

4条回答
  •  感情败类
    2021-02-08 06:01

    usually .project and .settings/ should likley be versioned and ignored!

    .classpath and target should not be versioned but ignored.

    This is a first inital boot-up on checkout-practice.

    i.e.

    • You told everone to use four spaces as tab, this information is stored under .settings/xxx
    • but you give no restriction where they have to install their tomcat/jdk's (stored under .classpath)

    ok?

提交回复
热议问题