Eclipse Builder. This article contains currently only a link to a tutorial for builder and natures. Please move on. Currently in EARLY DRAFT.
Eclipse supports the concept of natures and builders. For each project you can register a nature for which you can associate a certain builder. A builder is an object that manipulates your resources in your Eclipse IDE and creates other resources.
For example the "Java Builder" is used to translate Java Source files into .class files. You can create your own builders by implementing the extension point "org.eclipse.core.resources.builders". Each builder is subclassed from "IncrementalProjectBuilder" and must implement the method build(). In case autobuild is active then this method is called from the eclipse Framework if resources are changed. The method is also called if the user selects "Clean", "Build" or "Build All" from the menu.
Builder are included in the file ".project" in the buildCommands tag. The method build() get a parameter if a full build (FULL_BUILD) or a delta build (INCREMENTAL_BUILD) has to be done. To get the changes in case of a delta build you can use the getDelta(getProject() call which returns a "IResourceDelta".
For more information on builders please see the article in the appendix.
|TRAINING||SERVICE & SUPPORT|
The vogella company provides comprehensive training and education services from experts in the areas of Eclipse RCP, Android, Git, Java, Gradle and Spring. We offer both public and inhouse training. Whichever course you decide to take, you are guaranteed to experience what many before you refer to as “The best IT class I have ever attended”.
The vogella company offers expert consulting services, development support and coaching. Our customers range from Fortune 100 corporations to individual developers.
Copyright © 2012-2018 vogella GmbH. Free use of the software examples is granted under the terms of the Eclipse Public License 2.0. This tutorial is published under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany license.