![]() When you create a new element type with mkeltype, you must specify an existing element type as its supertype. The mkeltype manual page describes the predefined element types and their type managers. Each one is associated with one of the type managers provided with ClearCase. When a new VOB is created, it automatically gets a full set of the predefined element types. Others (for example, c_src and hdr_file) are not predefined - the examples above work only if user-defined element types with these names are created with the mkeltype command. Some of the element types discussed in the sections above (for example, text_file) are predefined. Predefined and User-Defined Element Types "Predefined element type used to represent a text file." Suppose that text_file is the first file type that names an existing element type in this case, monet_adm.1 is created as an element of type text_file.ĭata storage and retrieval for versions of element monet_adm.1 will be handled by the type manager associated with the text_file element type its name is text_file_delta: % cleartool describe -type text_fileĠ1-Feb-93.09:11:32 by VOB administrator ( ) ![]() Mkelem compares this list with the set of element types defined for the new element's VOB. In this case, rule (4) is the first one to match the name monet_adm.1, yielding this list of file types: manpage src_file text_file file Suppose that the magic file shown in Figure 19-1 is the first (or only) one to be used. Since the user did not specify an element type (–eltype option), mkelem uses one or more magic files to determine the file type(s) of the specified name. A user enters a “create element” command: % cleartool mkelem monet_adm.1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |