Which NetBeans projects files should go into source control?

后端 未结 5 1993
温柔的废话
温柔的废话 2020-12-07 20:21

We normally use Eclipse for a particular Java project, but recently I imported the project into NetBeans to use its dialog building features.

Since I\'ll probably co

5条回答
  •  醉酒成梦
    2020-12-07 20:47

    None.

    Only source files, build scripts, and documentation that is not automatically generated (e.g. - the output of tools such as JavaDoc and Doxygen) should be checked into a repository. Things like project files, binaries, and generated documentation should not be checked in.

    The reason is two-fold. First, you don't want to overwrite another developer's project settings with your own. Second, other developers might not be using the same IDE as you (or even an IDE at all), so don't give them any more than they need to build (the project or its associated documentation) or run the project.

提交回复
热议问题