IBM SC34-4499-03 Personal Computer User Manual


 
Finding out which parts will be built
Before running a build of a large application, you might want to find out exactly which
parts will be built. If you specify that you want to run in report mode, TeamConnection
determines what will be built in a normal build and produces a report showing the
results.
If Greg really wants to see which parts of msgcat.exe will be built before he runs the
actual build, he can issue the following command:
teamc part -build msgcat.exe -release 9503 -workarea d410 -report -pool pool1
He sees the following report:
6021-700 Number of distinct build events for this build: 3.
6021-407 The builder c_compiler will be invoked.
6021-406 The builder parameters consist of:
command: compC.cmd
input: hello.c
output: hello.obj
dependent: hello.h
6021-407 The builder c_compiler will be invoked.
6021-406 The builder parameters consist of:
command: compC.cmd
input: bye.c
output: bye.obj
dependent: bye.h
6021-407 The builder c_linker will be invoked.
6021-406 The builder parameters consist of:
command: linkC.cmd
input: hello.obj bye.obj
output: msgcat.exe
dependent:
The report shows that bye.obj and msgcat.exe must be rebuilt.
Canceling a build
To cancel a build that is in progress, do one of the following:
v If the build was started from the GUI, on the Build Progress window select the
Cancel Build push button.
v If the build was started from the command line, type the following command and
press Enter:
teamc part -build name -cancel
Where
name
is the part that you are building. Be sure to specify the same part name
that you specified when starting the build, rather than a part that is lower in the build
tree.
194 User’s Guide