Importing from ClearCase into RTC: "Node'xxx' can not be selected" error when selecting files to be imported
I'm trying to import files and folders from base ClearCase (no UCM) into RTC using the eclipse client import wizard. When I try to select the elements to be imported, I get the error message
In the "Browse For Files To Synchonize" windows, the VOBs which are working have grey (Component: <VOB name>) behind the VOB name in the browse box like shown in the attachment:
The exception stack does not help much:
When I do the same in other VOBs, it works well (so in principle I'm doing the right things).Node'xxx' can not be selected Cannot find a configuration for the selected resource. Please select a resource within VOB or sub-VOB component
In the "Browse For Files To Synchonize" windows, the VOBs which are working have grey (Component: <VOB name>) behind the VOB name in the browse box like shown in the attachment:
The exception stack does not help much:
javax.wvcm.WvcmException: Cannot find a configuration for the selected resource. Please select a resource within VOB or sub-VOB component at com.ibm.team.connector.scm.cc.ide.ui.wizards.importwizard.RootPathBrowserDialog$PathBrowserInfo.fetchConfigProperty(RootPathBrowserDialog.java:436) at com.ibm.team.connector.scm.cc.ide.ui.wizards.importwizard.RootPathBrowserDialog$PathBrowserLabelProvider$1.run(RootPathBrowserDialog.java:973) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
One answer
When you expand that top level folder in the Browse pane, what do you see?
One way this can occur is if a VOB is a multi-component UCM VOB, where the components live one level down in the directory hierarchy. You can select the component root directory, but you cannot select the root directory of the VOB, because that directory is not in any component.
You would also get this behavior in a non-UCM VOB, if you have used the new "sub-vob component" functionality in RTC-4.0 (that functionality lets you declare that user-selected sub-directories in the VOB should be considered components, rather than the root directory of the VOB). To see whether someone has created sub-vob components in that VOB, check whether the attribute type com.ibm.rational.interop.ClearCase.subVOB_Component is declared in that VOB.
If neither is the case, please contact Rational Support or submit a work item on jazz.net, so they can investigate why you are seeing this behavior.
One way this can occur is if a VOB is a multi-component UCM VOB, where the components live one level down in the directory hierarchy. You can select the component root directory, but you cannot select the root directory of the VOB, because that directory is not in any component.
You would also get this behavior in a non-UCM VOB, if you have used the new "sub-vob component" functionality in RTC-4.0 (that functionality lets you declare that user-selected sub-directories in the VOB should be considered components, rather than the root directory of the VOB). To see whether someone has created sub-vob components in that VOB, check whether the attribute type com.ibm.rational.interop.ClearCase.subVOB_Component is declared in that VOB.
If neither is the case, please contact Rational Support or submit a work item on jazz.net, so they can investigate why you are seeing this behavior.
Comments
Simon Eickel
Oct 17 '12, 9:11 a.m.