Creating a type

The ccm typedef -create command creates a type definition. The type must not exist, and you must have the type_developer or ccm_admin role available.

About this task

ccm typedef -c|-create -desc|-description description
	-st|-super_type super_type
	[-stf|-source_template_file template_file]
	[-rke|-range_keyword_expand (range_integer|inherit)]
	[-pco|-parallel_check_out (inherit | true | false)]
	[-pci|-parallel_check_in (inherit | true | false)]
	([-active] | [-inactive])
	([-x|-execute_permission] | [-nox|-noexecute_permission])
	([-wi|-win_ignore] | [-nowi|-nowin_ignore])
	([-ui|-unix_ignore] | [-noui|-nounix_ignore]) 
	[(-match match_expression)...]
	[(-wm|-win_match match_expression)...]
	[(-um|-unix_match match_expression)...]
	[(-suffix|-suffixes suffix)...]
	[(-ws|-win_suffix|-win_suffixes suffix)...]
	[(-us|-unix_suffix|-unix_suffixes suffix)...] type_name
-active
Specifies that type definition is active and available for use when creating new objects. This setting is the default setting.
-desc|-description description
Specifies a one line description for the type. Use to describe the meaning or purpose of the type.
-inactive
Specifies that the type definition is inactive. Users cannot create or check in objects of this type.
-match match_expression
Specifies a match_expression regular expression that is used to match files for this type definition on both Windows and UNIX. This option is equivalent to specifying -wm match_expression -um match_expression.
-nowi|-nowin_ignore
On Windows, specifies that files of this type are not ignored by default during reconcile or migrate.
-noui|-nounix_ignore
On UNIX, specifies that files of this type are not ignored by default during reconcile or migrate.
-nox|-noexecute_permission
On a UNIX client, specifies files of this type in a work area do not have the UNIX ’x’ execute permission.
-pci|-parallel_check_in (inherit | true | false)
Specifies whether parallel objects of this type can be checked in. The value inherit means that this property is inherited from its super_type. The value true means that parallel check in might be permitted, subject to the settings on the release definition associated with the release of the object. The value false means that parallel check in is not permitted.
-pco|-parallel_check_out (inherit | true | false)
Specifies whether parallel objects of this type can be checked out. The value inherit means that this property is inherited from its super_type. The value true means that parallel check out might be permitted, subject to the settings on the release definition associated with the release of the object. The value false means that parallel check out is not permitted.
-rke|-range_keyword_expand (range_integer|inherit)
Specifies the range for keyword expansion. The value inherit means that the setting is inherited from its super_type. See range_for_keyword_expand for details.
-st|-super_type super_type
Specifies the super_type for this type. The super_type must be a file-based type. Typical values are ascii or binary. It is invalid to create cyclic inheritance.
-stf|-source_template_file template_file
Specifies a source template. The template is read from the template_file. The template can use Rational® Synergy keywords that are expanded on create, check out, and, optionally, check in.
-suffix|-suffixes suffix
Specifies that Windows and UNIX file matching patterns be added to match the specified suffix. The suffix should start with a ’.’ followed by one or more characters, and should not contain white space or more than one ’.’. This option is equivalent to specifying -win_suffix suffix -unix_suffix suffix.
type_name
Specifies the name of the new type to create. The type name cannot contain any restricted characters. You cannot create a type if another type exists with the same name, even if the case is different.
-wi|-win_ignore
On Windows, specifies that files of this type are ignored by default during reconcile or migrate.
-wm|-win_match match_expression
Specifies a match_expression regular expression that is used to match files for this type definition on Windows .
-ws|-win_suffix|-win_suffixes suffix
Specifies that Windows file-matching patterns be added to match the specified suffix. The suffix should start with a ’.’ followed by one or more characters, and should not contain white space or more than one ’.’.
-ui|-unix_ignore
On UNIX, specifies that files of this type are ignored by default during reconcile or migrate.
-um|-unix_match match_expression
Specifies a match_expression regular expression that is used to match files for this type definition on UNIX.
-us|-unix_suffix|-unix_suffixes suffix
Specifies that UNIX file matching patterns be added to match the specified suffix. The suffix should start with a ’.’ followed by one or more characters, and should not contain white space or more than one ’.’.
-x|-execute_permission
On a UNIX client, specifies that files of this type in a work area have the UNIX ’x’ execute permission.

Feedback