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 must be one or more
suffixes separated by commas, each starting with ’.’.,
which is equivalent to specifying -ws suffix -us 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.
- -ws|-win_suffix|-win_suffixes suffix
- Specifies that Windows file-matching
patterns be added to match the specified suffix.
The suffix must be one or more
suffixes separated by commas, each starting with’.’.
- -ui|-unix_ignore
- On UNIX, specifies that
files of this type are ignored by default during reconcile or migrate.
- -us|-unix_suffix|-unix_suffixes suffix
- Specifies that UNIX file
matching patterns be added to match the specified suffix.
The suffix must be one or more
suffixes separated by commas, each starting with ’.’.
- -x|-execute_permission
- On a UNIX client, specifies
that files of this type in a work area have the UNIX ’x’ execute permission.