Support for incremental builds
We are using RTC source control and build engine. We would like to implement 'incremental builds' in our main build process... to do this we would uncheck the 'delete directory before loading' option in the build definition (thus load over the previous build), and use ant tasks to rebuild only what has changed (plus dependants) without using 'clean' targets indiscriminately. My first concern is how to deal with source file deletions. If a change set in the build includes a file deletion, and the previous build is not deleted before loading, does the jazz build engine detect the file deleteion and remove the source file from the 'previous' build? If not, is there another way we can deal with this situation?
Any other pointers on incremental builds will also be much appreciated!
Any other pointers on incremental builds will also be much appreciated!
5 answers
The load performed by the jazz build engine should be what you want. It
should only load the new changes. Deletion of files should be handled as
well and removed from the filesystem when loading.
We don't have much experience doing incremental builds. The RTC builds build
clean everytime.
---
Ryan Manwiller
Jazz Team
should only load the new changes. Deletion of files should be handled as
well and removed from the filesystem when loading.
We don't have much experience doing incremental builds. The RTC builds build
clean everytime.
---
Ryan Manwiller
Jazz Team
I doubt .class files would be removed. The deleted source files are only
removed because the build workspace accepted a change set with a deletion
for that file.
If you're using Ant you should always run a "clean" target first which should delete and re-initialise your temporary build area.