Chapter 18. Builders and Natures
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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access