Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "IAM Project Builder"
(New page: The builder MavenIncrementalBuilder receives a request for building. The type of the request can be * AUTO_BUILD or INCREMENTAL_BUILD: we need to check what has changed * CLEAN_BUILD or F...) |
|||
Line 3: | Line 3: | ||
* AUTO_BUILD or INCREMENTAL_BUILD: we need to check what has changed | * AUTO_BUILD or INCREMENTAL_BUILD: we need to check what has changed | ||
* CLEAN_BUILD or FULL_BUILD: no deltas, rebuild everything (not sure if there are differences between clean and full) | * CLEAN_BUILD or FULL_BUILD: no deltas, rebuild everything (not sure if there are differences between clean and full) | ||
+ | |||
+ | At some point the build is redirected to all the IBuilderDelegate objects configured | ||
+ | |||
+ | * MavenJdtBuilderDelegate | ||
+ | * ResourceBuilderDelegate | ||
+ | |||
+ | |||
+ | == Incremental build == | ||
The pom is checked for modifications in handlePomUpdatesIfNeeded | The pom is checked for modifications in handlePomUpdatesIfNeeded | ||
Line 8: | Line 16: | ||
* else check for changes in the content of the pom with handlePomChange | * else check for changes in the content of the pom with handlePomChange | ||
+ | The delegates are called with onResourceChange | ||
− | + | == Full build == | |
− | + | The delegates are called with onFullBuild | |
− | + |
Latest revision as of 16:55, 17 March 2009
The builder MavenIncrementalBuilder receives a request for building. The type of the request can be
- AUTO_BUILD or INCREMENTAL_BUILD: we need to check what has changed
- CLEAN_BUILD or FULL_BUILD: no deltas, rebuild everything (not sure if there are differences between clean and full)
At some point the build is redirected to all the IBuilderDelegate objects configured
- MavenJdtBuilderDelegate
- ResourceBuilderDelegate
Incremental build
The pom is checked for modifications in handlePomUpdatesIfNeeded
- if pom was not stored, then go to handlePomReplace
- else check for changes in the content of the pom with handlePomChange
The delegates are called with onResourceChange
Full build
The delegates are called with onFullBuild