I think the best way is to make the build process independent of the IDE. This means that your project should not rely on any IDE files to build, but rather use an external build system, such as Apache Maven , Apache Ant, or even create or customize scripts. Maven is supported by most popular Java IDEs, either directly or through plugins.
If you do not want to use external build systems, you should at least simplify project setup (i.e. have standard folders for shared libraries and other dependencies). When I worked on teams with several IDEs in the past, I spent more time resolving dependencies on this, because the prerequisites for creating a project have changed over time. In the worst case scenario, you may even end up with developers who haven’t bothered to get the latest version from the version control repository, because they think that creating a new project is so difficult.
If your project has many dependencies in the library, I think it is a good idea to make them available in binary form in the version control repository. Thus, people do not need to resolve all dependency dependencies, etc. Just to create a single project. However, this requires that you have someone in charge of updating the “official” binaries with every change. (This is almost the same philosophy used by the Maven repository, but the principles can be applied manually, even if you do not use Maven.)
Anders sandvig
source share