Error Creating Component Clearcase
component in a vob; sub-directory; subVOB; ClearCase; UCM: Component; Windows; 2003.06.00; 7.0; comprootdir; crd; mkcomp -root; multi-comp vob; multicomponent vob Technote (FAQ) Question Why can a new component be created within a IBM Rational ClearCase UCM Multiple Component VOB even if the subdirectory (that it will use as its root) does not exist yet? Answer It is possible to create a new component in a VOB using GUI functionality in Project Explorer or from command line using cleartool mkcomp. Creating a sub-directory in a VOB and adding it to source control for it to act as the component root directory is not required when creating a new component in a VOB. This feature will create both the component root directory and the UCM component with a single operation or command. Component Root Directory The creation of a new component root directory (crd) is not dependent on the existence of a directory element in the Multi-Component VOB. The component root directory that gets created is not from an existing subdirectory in the VOB, even if a subdirectory already exist in the VOB with the same name. The crd that is created is a new directory element that is visible from within a UCM view for the purpose of working in a UCM project. Hence, the new directory element will not appear in a non-UCM view as a subdirectory in the Multi-Component VOB. Note: If you want to use an existing sub-directory as a UCM component, then use the option for importing a VOB directory as a component, which will create a ComponentRootDir hyperlink in the existing directory. This option will not create a new directory element, refer to technote 1240724 for more details. To avoid confusion, it is advised to manage your UCM environment in a manner where sub-directories in the Multi-Component VOB do not have identical names as UCM
Entry named; already exists; cleartool rmname -nco; mkcomp; 1243717; CRDE; stranded; RATLC01301639 Technote (troubleshooting) Problem(Abstract) Attempts to create an IBM Rational ClearCase UCM component result in error “cleartool: Error: Entry named "directory" already exists”. Symptom Creating a UCM component fails with.:
> cleartool mkcomp -root test_comp test_comp@
Processing subdirectory elements...
Done processing subdirectory elements.
cleartool: Error: Entry named "test_comp" already exists.
cleartool: Error: Cannot catalogue root directory in VOB root
cleartool: Error: Unable to create component.
Cause If removal of http://www-01.ibm.com/support/docview.wss?uid=swg21243311 a component did not process completely, this condition can occur. This condition is either due to an error or another unexpected interruption. Creating a UCM component catalogs an entry in the main\0 version of the VOB directory element. When you remove the component, this entry disappears. When this entry is gone, you can create a component with the same name. If this entry still exists http://www-01.ibm.com/support/docview.wss?uid=swg21243717 after removal, the error occurs when you try to create a component of the same name. Resolving the problem Remove the old entry before you create a component with the same name. Dump version \main\0 of the VOB root folder to verify whether the name is already there.
cleartool dump -long .@@\main\0
...
directory entries:
39 lost+found
42 DIR0
796 DIR1
8247 test_comp <========
Try to remove the existing element. However, this action most likely fails as follows. >cleartool rmelem .@@\main\0\test_comp
CAUTION! This will destroy the element, all its branches and versions,
including all data, meta-data and history, and will remove the element
from all directory versions that now contain it. Once you destroy the
element, there will be no way to restore it to its current state.
If you want to preserve the element, but remove references to it from
future directory versions, use the "rmname" command.
Element ".@@\main\0\test_comp" has 1 branches, 1 versions, and is entered
in 1 directory versions.
Destroy element? [no] y
cleartool: Error: Can't remove root dire
updated 11-Nov-09) Projects - adding components to, etc... Components creating rootles components, copy between, removing, etc... Baselines creating identical, http://www.samecs.com/how_do_i/ClearCase%20UCM/clearcase%20ucm%20how%20do%20i.htm removing member baseline, etc... Activities determining dependent, dependencies, tec... Steams issues, prevent user creating, etc... Derived Objects UCM and , etc... Techniques removing object, elements, etc Troubleshooting template, ucmutil, etc... Table of Contents ClearCase UCM How do I covers: (Last updated 11-Nov-09) 1 Table of Contents. 1 Projects. 2 1. How do I - add a error creating component to a UCM project 2 2. How do I - change Mastership for a UCM Project 6 3. How do I - convert an AdminVOB to a UCM Project VOB.. 7 4. How do I - rename a UCM project from CLI or GUI 7 Components. 11 5. How do I - copy elements between UCM components. 11 7. How do I - create a Rootless error creating component Component from Command Line. 12 8. How do I - remove components from a Project after the VOB has been removed. 13 9. How do I understand why the root of a Multi-Component VOB is read-only in a UCM view.. 13 10. How do I - create a component in a VOB.. 14 11. How do I - import an existing subdirectory as a UCM component 17 12. How do I understand why the root of a Multi-Component VOB is read-only in a UCM view.. 18 13. How do I understand about the number of modifiable components and performance. 19 14. How do I understand why th component root directory in a Multiple Component VOB cannot be renamed 19 Baselines. 20 15. How do I - remove and recreate UCM baselines. 20 16. How do I - create an identical baseline in UCM... 21 17. How do I - remove a member baseline of a composite baseline. 22 18. How do I understand symbol definitions of -> and >> when diffing UCM baselines. 24 19. How do I understand about No version to label 24 20. How do I understand the can