How do you handle different Java IDEs and svn?

前端 未结 7 1811
天命终不由人
天命终不由人 2020-12-16 22:55

How do you ensure, that you can checkout the code into Eclipse or NetBeans and work there with it?

Edit: If you not checking in ide-related files, you have to reconf

7条回答
  •  清歌不尽
    2020-12-16 23:41

    I'm of the philosophy that the build should be done with a "lowest common denominator" approach. What goes into source control is what is required to do the build. While I develop exclusively in with Eclipse, my build is with ant at the command line.

    With respect to source control, I only check in files that are essential to the build from the command line. No Eclipse files. When I setup a new development machine (seems like twice a year), it takes a little effort to get Eclipse to import the project from an ant build file but nothing scary. (In theory, this should work the same for other IDEs, no? Surly they must be able to import from ant?)

    I've also documented how to setup a bare minimum build environment.

提交回复
热议问题