We want to extend the process of building a Java project to include running tests. If there was only one way to build a project, building would simply be represented by a method on
IProject. However, the build process is complex and differs from project-to-project. In this chapter, we'll see how to contribute to the build process. In particular, we will see how to
Use natures to configure builders
Use builders to participate in the build process
Declare natures and builders
Each project has associated with it a set of builders. Each builder is informed any time Eclipse decides to build a project. A builder can transform resources to bring them up to date or it can validate that the resources are in a consistent state. ...