First build questions -- Defining a Clean Build
CLM 4.0.5
I am fully taking over responsibilities of a former release person. It's my first build, so I have been reviewing the help, the library and youtube. Our former team member has set up a complex build script. So I have a series of questions as a first timer.
The first. I have read the log files and there are TONS of delete statements. I have read about doing a "clean" build before your "regular" build to speed up performance time. Is there any build.xml needed for this type of build? Or can I just select the option to "Delete directory before loading"(which we are using)? Is there a need for the startbuildactivity on this? I want to run this an hour before the real build....
I am fully taking over responsibilities of a former release person. It's my first build, so I have been reviewing the help, the library and youtube. Our former team member has set up a complex build script. So I have a series of questions as a first timer.
The first. I have read the log files and there are TONS of delete statements. I have read about doing a "clean" build before your "regular" build to speed up performance time. Is there any build.xml needed for this type of build? Or can I just select the option to "Delete directory before loading"(which we are using)? Is there a need for the startbuildactivity on this? I want to run this an hour before the real build....
2 answers
Most builds have a "clean" target that can be used to restore the source tree to a pristine state. A properly configured clean target will restore the source tree to a state that makes it indistinguishable from a fresh source extract.
The RTC "Delete directory before loading" function is the nuclear option - it does the work for you but also removes the previous source extract. If your codebase is small this probably doesn't matter, but if your codebase is large you are incurring a significant penalty by having to reload the entire source tree from scratch every time.