ClearCase Support: How to Add an Element Type
Ever try adding a new file under source control in ClearCase, however you can not because the element type does not exist?
Well, I have this problem whenever I add Rational Rose RealTime files into a VOB for the first time, especially with newly created VOBs. You would assume that IBM/Rational would support, as a default, their other tools in ClearCase, however they do not.
Here is the command that I use to add the Rational Rose RealTime element type to a ClearCase VOB. I think you need to be the VOB owner to run this command and in the VOB too.
|cleartool mkeltype -supertype text_file -manager petalrt_file_delta -c "RoseRT files" rosert_unit|
Alternatively, if you have an element type in one VOB but another VOB does not have the element type, then you can copy the element type from one VOB to another VOB using this command.
|cleartool cptype eltype:ELEMENT_TYPE_NAME@SOURCE_VOB eltype:ELEMENT_TYPE_NAME@DESTINATION_VOB|
Again, I think you need to be the VOB owner to run this command.
by Phil for Humanity