Installing and Building Your SourcePro® Products : Chapter 3 Buildspec Details : General Buildspec Questions : Select Naming Convention
Select Naming Convention
These questions determine the string that is used in the built component names to indicate the build type. For example, in the library name tls12s.lib, the build tag part is 12s.
When you select a convention, the Build tag and Description fields are filled in automatically based on answers to previous questions. The User-defined tag field allows you to add your own identifier to the component name.
NOTE >> The build tag also determines the buildspec name; that is, a build tag of 12s creates a buildspec of the name 12s.bsf. If your buildspace already contains a buildspec for the configuration you are defining, the new buildspec will overwrite the existing one unless you specify a different naming convention or supply a user-defined tag.
The easiest solution is to define a user-defined tag, which becomes part of the buildspec name, making it different from the existing one. For example, the user-defined tag “_solaris” would change the buildspec name 12s.bsf to 12s_solaris.bsf, thus preserving the existing buildspec.
Naming Conventions
The Select a naming convention drop-down menu offers three choices. Table 3 summarizes the types of build tags each choice generates.
Table 3 – RCB component naming conventions
Convention
Description
SPM
Tags used by Software Parts Manager (SPM), such as the 12s tag shown above. This choice is provided for backwards compatibility so you can produce components through RCB with the same naming conventions as those produced through SPM.
RCB
A system of one-letter codes to indicate certain build options. The advantage is concise component names, but a drawback is the need to remember the codes. The codes are explained in Table 5, “RCB build tag naming conventions.”.
Verbose RCB
A long but clear sequence of strings, delimited by underscores, for indicating a component’s build characteristics.
For more detail on build tag conventions, see Appendix C.