The next step is to learn how to learn how to create a CCBuildConfig
record.
A CCBuildConfig record is a stateless, reusable, Rational® ClearCase® configuration
record that specifies the following Rational ClearCase
parameters: the build and promote operation views and commands needed to build
and promote Rational ClearCase artifacts
and the failure and success keywords you can specify to indicate whether a
build or promote operation succeeds. A CCBuildConfig record is used in conjunction
with a CCBuild record.
- Click .
- In the CCBuildConfig window, click the Main tab.
Fill out the following fields:
- Configuration Name
- Enter a meaningful, unique name for the record.
- Description
- Enter a meaningful description for the record.
- Click the Views tab.
- Rational ClearCase Project
- Enter the name of the Rational ClearCase project
that defines the set of development policies and the set of configurations
to be built.
- Build
- View
- Enter the name of the Rational ClearCase view
(or local directory) in which you want to build the project. An example entry
might be x:\hosttest\test3.
- Command
- Enter the build command to use for building the view. Possible examples
are ant, clearmake, make,
or a customized perl script. An example entry might
be d:\ant\bin\ant -v.
- Success keywords
- Specify any keywords that appear in the successful output of the Rational ClearCase build command
you specify. You can enter multiple keywords, each separated by a comma, or
you can enter an exact string with each keyword separated by white spaces.
If you enter a string of keywords separated by commas, any keyword found indicates
a successful build. If you enter a string with each keyword separated by a
space, the string must be found for the build to succeed. This field does
not support non-ASCII characters or the following ASCII characters: "+", "?",
".", "*", "^", "$", "(", ")", "[", "]", "{", "}", "|", "\", and "/" characters.
- Failure keywords
- Specify any keywords that appear in the failed output of the Rational ClearCase build command
you specify. You can enter multiple keywords, each separated by a comma, or
you can enter an exact string with each keyword separated by white spaces.
If you enter a string of keywords separated by commas, any keyword found indicates
a failed build. If you enter a string with each keyword separated by a space,
the string must be found for the build to fail. This field does not support
non-ASCII characters or the following ASCII characters: "+", "?", ".", "*",
"^", "$", "(", ")", "[", "]", "{", "}", "|", "\", and "/" characters.
- Promote
- View
- Enter the name of the Rational ClearCase view
(or local directory) into which you want to promote the build. An example
entry might be x:\hosttest\test3.
- Command
- Enter the promote operation command you want to use to promote the build.
Possible examples are findmerge, deliver,
and customized perl scripts. An example entry might
be d:\perl\bin\perl.exe -w promote.pl.
- Success keywords
- Specify any meaningful keyword or keywords that appear in the successful
output of the Rational ClearCase promote
command you specify. You can enter multiple keywords, each separated by a
comma, or you can enter an exact string with each keyword separated by white
spaces. If you enter a string of keywords separated by commas, any keyword
found indicates a successful promote operation. If you enter a string with
each keyword separated by a space, the string must be found for the promote
operation to succeed. This field does not support non-ASCII characters or
the following ASCII characters: "+", "?", ".", "*", "^", "$", "(", ")", "[",
"]", "{", "}", "|", "\", and "/" characters.
- Failure keywords
- Specify any keywords that appear in the failed output of the Rational ClearCase promote
command you specify. You can enter multiple keywords, each separated by a
comma, or you can enter an exact string with each keyword separated by white
spaces. If you enter a string of keywords separated by commas, any keyword
found indicates a failed promote operation. If you enter a string with each
keyword separated by a space, the string must be found for the promote operation
to fail. This field does not support non-ASCII characters or the following
ASCII characters: "+", "?", ".", "*", "^", "$", "(", ")", "[", "]", "{", "}",
"|", "\", and "/" characters.
- Optional: You can save the entries
for the record you are creating as defaults by selecting the arrow next to
the Load button and clicking New.
You then name the template in the New Record Template window
and click OK. By saving these entries, you can populate
the fields of CCBuildConfig records you create in the future by selecting
the record from the Template list and clicking the Load button.
- Click OK to create the record.
This topic completes the procedure for creating a CCBuildConfig record.
The next step is to create a CrossPlatformBuild record.