O'Reilly logo

Contributing to Eclipse: Principles, Patterns, and Plug-Ins by Kent Beck, Erich Gamma

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required