Trouble exporting to ClearCase from RTC with M6a
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
I have a single UCM VOB with four components. Each of these components are also in RTC. I setup my ClearCase Sync Stream with the correct components/baselines. Upon exporting from RTC to CC, I get an error similar to
javax.wvcm.WvcmException: Failure while trying to execute cleartool command: stderr: cleartool: Error: Unable to resolve component root directory "M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene": ClearCase object not found cleartool: Error: Unable to create component. stdout: cmd: cleartool mkcomp -nc -root M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene component:Lucene@vobuuid:301217bd.f2154f6c.83ff.a9:40:ca:2e:f8:d1 dir: M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012
Note the ..jazz-components/Lucene path. Where does the 'jazz-components' in the path come from? The component dir should be at the root of the view and not under some 'jazz-components' folder.
Synch has changed in M6a. The same gestures I used to set this up in M5 now no longer work. I need to know how best to get the initial export/synch of code from RTC into CC setup and then maintained.
javax.wvcm.WvcmException: Failure while trying to execute cleartool command: stderr: cleartool: Error: Unable to resolve component root directory "M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene": ClearCase object not found cleartool: Error: Unable to create component. stdout: cmd: cleartool mkcomp -nc -root M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene component:Lucene@vobuuid:301217bd.f2154f6c.83ff.a9:40:ca:2e:f8:d1 dir: M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012
Note the ..jazz-components/Lucene path. Where does the 'jazz-components' in the path come from? The component dir should be at the root of the view and not under some 'jazz-components' folder.
Synch has changed in M6a. The same gestures I used to set this up in M5 now no longer work. I need to know how best to get the initial export/synch of code from RTC into CC setup and then maintained.
9 answers
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
In M5, the ClearCase Connector would create the root directory of a new
component in your PVOB.
In M6a, it no longer assumes that you want to store your component root
directories into your PVOB (although it is legal to put component root
directories in the PVOB, normally, the PVOB is reserved for metadata
information only).
Instead, there is a ClearCase property called COMPONENT_VOB_TAG (which
defaults to "\jazz-components") which specifies the vob tag of the vob
where you want the root directories to be created.
Note that the only thing that can appear at the root of the view is a
VOB, and the ClearCase Connector will never automatically create a new VOB.
Cheers,
Geoff
tfeeney wrote:
component in your PVOB.
In M6a, it no longer assumes that you want to store your component root
directories into your PVOB (although it is legal to put component root
directories in the PVOB, normally, the PVOB is reserved for metadata
information only).
Instead, there is a ClearCase property called COMPONENT_VOB_TAG (which
defaults to "\jazz-components") which specifies the vob tag of the vob
where you want the root directories to be created.
Note that the only thing that can appear at the root of the view is a
VOB, and the ClearCase Connector will never automatically create a new VOB.
Cheers,
Geoff
tfeeney wrote:
I have a single UCM VOB with four components. Each of these
components are also in RTC. I setup my ClearCase Sync Stream with
the correct components/baselines. Upon exporting from RTC to CC, I
get an error similar to
javax.wvcm.WvcmException: Failure while trying to execute cleartool
command: stderr: cleartool: Error: Unable to resolve component root
directory
"M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene":
ClearCase object not found cleartool: Error: Unable to create
component. stdout: cmd: cleartool mkcomp -nc -root
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene
component:Lucene@vobuuid:301217bd.f2154f6c.83ff.a9:40:ca:2e:f8:d1 dir:
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012
Note the ..jazz-components/Lucene path. Where does the
'jazz-components' in the path come from? The component dir should be
at the root of the view and not under some 'jazz-components' folder.
Synch has changed in M6a. The same gestures I used to set this up in
M5 now no longer work. I need to know how best to get the initial
export/synch of code from RTC into CC setup and then maintained.
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
I re-read your original message, and noted that you stated that the
component you were exporting should have already existed in ClearCase
(i.e. you already had a component named Lucene in ClearCase).
In this case, it shouldn't have tried to create a new component in
ClearCase, but rather should have exported to that existing component.
So from the behavior you were seeing, it was acting like it could not
find that component. Are you sure that a component by that name already
existed in ClearCase?
Another question: Were you trying to export the entire component (named
Lucene), or were you just exporting one of the projects in that component?
Geoffrey Clemm wrote:
component you were exporting should have already existed in ClearCase
(i.e. you already had a component named Lucene in ClearCase).
In this case, it shouldn't have tried to create a new component in
ClearCase, but rather should have exported to that existing component.
So from the behavior you were seeing, it was acting like it could not
find that component. Are you sure that a component by that name already
existed in ClearCase?
Another question: Were you trying to export the entire component (named
Lucene), or were you just exporting one of the projects in that component?
Geoffrey Clemm wrote:
In M5, the ClearCase Connector would create the root directory of a new
component in your PVOB.
In M6a, it no longer assumes that you want to store your component root
directories into your PVOB (although it is legal to put component root
directories in the PVOB, normally, the PVOB is reserved for metadata
information only).
Instead, there is a ClearCase property called COMPONENT_VOB_TAG (which
defaults to "\jazz-components") which specifies the vob tag of the vob
where you want the root directories to be created.
Note that the only thing that can appear at the root of the view is a
VOB, and the ClearCase Connector will never automatically create a new VOB.
tfeeney wrote:
I have a single UCM VOB with four components. Each of these
components are also in RTC. I setup my ClearCase Sync Stream with
the correct components/baselines. Upon exporting from RTC to CC, I
get an error similar to
javax.wvcm.WvcmException: Failure while trying to execute cleartool
command: stderr: cleartool: Error: Unable to resolve component root
directory
"M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene":
ClearCase object not found cleartool: Error: Unable to create
component. stdout: cmd: cleartool mkcomp -nc -root
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene
component:Lucene@vobuuid:301217bd.f2154f6c.83ff.a9:40:ca:2e:f8:d1 dir:
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012
Note the ..jazz-components/Lucene path. Where does the
'jazz-components' in the path come from? The component dir should be
at the root of the view and not under some 'jazz-components' folder.
Synch has changed in M6a. The same gestures I used to set this up in
M5 now no longer work. I need to know how best to get the initial
export/synch of code from RTC into CC setup and then maintained.
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
A tip:
We want to fix any issues arising during export, so please report
anything strange you encounter.
But if you are pressed for time, a simple workaround for export problems
is to create a dummy project in the ClearCase component, import that
dummy project (which will get the ClearCase component linked to the
appropriate Jazz component), and then export the Jazz component (or
selected projects in the Jazz component).
Cheers,
Geoff
Geoffrey Clemm wrote:
We want to fix any issues arising during export, so please report
anything strange you encounter.
But if you are pressed for time, a simple workaround for export problems
is to create a dummy project in the ClearCase component, import that
dummy project (which will get the ClearCase component linked to the
appropriate Jazz component), and then export the Jazz component (or
selected projects in the Jazz component).
Cheers,
Geoff
Geoffrey Clemm wrote:
I re-read your original message, and noted that you stated that the
component you were exporting should have already existed in ClearCase
(i.e. you already had a component named Lucene in ClearCase).
In this case, it shouldn't have tried to create a new component in
ClearCase, but rather should have exported to that existing component.
So from the behavior you were seeing, it was acting like it could not
find that component. Are you sure that a component by that name already
existed in ClearCase?
Another question: Were you trying to export the entire component (named
Lucene), or were you just exporting one of the projects in that component?
Geoffrey Clemm wrote:
In M5, the ClearCase Connector would create the root directory of a
new component in your PVOB.
In M6a, it no longer assumes that you want to store your component
root directories into your PVOB (although it is legal to put component
root directories in the PVOB, normally, the PVOB is reserved for
metadata information only).
Instead, there is a ClearCase property called COMPONENT_VOB_TAG (which
defaults to "\jazz-components") which specifies the vob tag of the vob
where you want the root directories to be created.
Note that the only thing that can appear at the root of the view is a
VOB, and the ClearCase Connector will never automatically create a new
VOB.
tfeeney wrote:
I have a single UCM VOB with four components. Each of these
components are also in RTC. I setup my ClearCase Sync Stream with
the correct components/baselines. Upon exporting from RTC to CC, I
get an error similar to
javax.wvcm.WvcmException: Failure while trying to execute cleartool
command: stderr: cleartool: Error: Unable to resolve component root
directory
"M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene":
ClearCase object not found cleartool: Error: Unable to create
component. stdout: cmd: cleartool mkcomp -nc -root
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene
component:Lucene@vobuuid:301217bd.f2154f6c.83ff.a9:40:ca:2e:f8:d1 dir:
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012
Note the ..jazz-components/Lucene path. Where does the
'jazz-components' in the path come from? The component dir should be
at the root of the view and not under some 'jazz-components' folder.
Synch has changed in M6a. The same gestures I used to set this up in
M5 now no longer work. I need to know how best to get the initial
export/synch of code from RTC into CC setup and then maintained.
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
Use of Lucene was from another example we tested demonstrating the same error in a simpler case. Here's what I have: Squawk VOB/PVOB with components UI, Documentation and Core. The VOB is empty, no code loaded.
In RTC, I have the same three components with one or more projects loaded as follows:
net.jazz.uws.squawk
net.jazz.uws.squawk.doc
net.jazz.uws.squawk.ui
net.jazz.uws.squawk.squawkers
I set the tag property as you suggested to \Squawk. Now what happens when I do the export is RTC looks for a VOB at M:/<view name>/Squawk/UI. Does the connector assume a 1:1 mapping of Component to VOB?
Tim
In RTC, I have the same three components with one or more projects loaded as follows:
net.jazz.uws.squawk
net.jazz.uws.squawk.doc
net.jazz.uws.squawk.ui
net.jazz.uws.squawk.squawkers
I set the tag property as you suggested to \Squawk. Now what happens when I do the export is RTC looks for a VOB at M:/<view name>/Squawk/UI. Does the connector assume a 1:1 mapping of Component to VOB?
Tim
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
The ClearCase Connector maintains a 1-1 mapping between Jazz components
and ClearCase "components". For ClearCase/UCM, a ClearCase component is
just a UCM component. For ClearCase/Base (non-UCM) a ClearCase
component is a VOB.
Since you are using UCM (since you have a PVOB), then the Jazz
components will be mapped to UCM components. In particular, it sounds
like now that you have the COMPONENT_PVOB_TAG set to a valid VOB, your
Jazz components are now being correctly exported to an appropriate UCM
component, correct?
Cheers,
Geoff
tfeeney wrote:
and ClearCase "components". For ClearCase/UCM, a ClearCase component is
just a UCM component. For ClearCase/Base (non-UCM) a ClearCase
component is a VOB.
Since you are using UCM (since you have a PVOB), then the Jazz
components will be mapped to UCM components. In particular, it sounds
like now that you have the COMPONENT_PVOB_TAG set to a valid VOB, your
Jazz components are now being correctly exported to an appropriate UCM
component, correct?
Cheers,
Geoff
tfeeney wrote:
Use of Lucene was from another example we tested demonstrating the
same error in a simpler case. Here's what I have: Squawk VOB/PVOB
with components UI, Documentation and Core. The VOB is empty, no
code loaded.
In RTC, I have the same three components with one or more projects
loaded as follows:
net.jazz.uws.squawk
net.jazz.uws.squawk.doc
net.jazz.uws.squawk.ui
net.jazz.uws.squawk.squawkers
I set the tag property as you suggested to \Squawk. Now what happens
when I do the export is RTC looks for a VOB at M:/<view>/Squawk/UI. Does the connector assume a 1:1 mapping of
Component to VOB?
Tim
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
I did some investigating, and in M6a, the ClearCase Connector will only
look for UCM components that are rooted in the VOB specified by the
COMPONENT_VOB_TAG. So you do have to have that property set correctly
in order to export Jazz components to ClearCase. Note that if you want
to export some other Jazz components to a different VOB, just change the
value of COMPONENT_VOB_TAG before you export those other Jazz components.
Cheers,
Geoff
Geoffrey Clemm wrote:
look for UCM components that are rooted in the VOB specified by the
COMPONENT_VOB_TAG. So you do have to have that property set correctly
in order to export Jazz components to ClearCase. Note that if you want
to export some other Jazz components to a different VOB, just change the
value of COMPONENT_VOB_TAG before you export those other Jazz components.
Cheers,
Geoff
Geoffrey Clemm wrote:
A tip:
We want to fix any issues arising during export, so please report
anything strange you encounter.
But if you are pressed for time, a simple workaround for export problems
is to create a dummy project in the ClearCase component, import that
dummy project (which will get the ClearCase component linked to the
appropriate Jazz component), and then export the Jazz component (or
selected projects in the Jazz component).
Geoffrey Clemm wrote:
I re-read your original message, and noted that you stated that the
component you were exporting should have already existed in ClearCase
(i.e. you already had a component named Lucene in ClearCase).
In this case, it shouldn't have tried to create a new component in
ClearCase, but rather should have exported to that existing component.
So from the behavior you were seeing, it was acting like it could not
find that component. Are you sure that a component by that name
already existed in ClearCase?
Another question: Were you trying to export the entire component
(named Lucene), or were you just exporting one of the projects in that
component?
Geoffrey Clemm wrote:
In M5, the ClearCase Connector would create the root directory of a
new component in your PVOB.
In M6a, it no longer assumes that you want to store your component
root directories into your PVOB (although it is legal to put
component root directories in the PVOB, normally, the PVOB is
reserved for metadata information only).
Instead, there is a ClearCase property called COMPONENT_VOB_TAG
(which defaults to "\jazz-components") which specifies the vob tag of
the vob where you want the root directories to be created.
Note that the only thing that can appear at the root of the view is a
VOB, and the ClearCase Connector will never automatically create a
new VOB.
tfeeney wrote:
I have a single UCM VOB with four components. Each of these
components are also in RTC. I setup my ClearCase Sync Stream with
the correct components/baselines. Upon exporting from RTC to CC, I
get an error similar to
javax.wvcm.WvcmException: Failure while trying to execute cleartool
command: stderr: cleartool: Error: Unable to resolve component root
directory
"M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene":
ClearCase object not found cleartool: Error: Unable to create
component. stdout: cmd: cleartool mkcomp -nc -root
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene
component:Lucene@vobuuid:301217bd.f2154f6c.83ff.a9:40:ca:2e:f8:d1 dir:
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012
Note the ..jazz-components/Lucene path. Where does the
'jazz-components' in the path come from? The component dir should be
at the root of the view and not under some 'jazz-components' folder.
Synch has changed in M6a. The same gestures I used to set this up in
M5 now no longer work. I need to know how best to get the initial
export/synch of code from RTC into CC setup and then maintained.
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
You are correct, I have set the COMPONENT_VOB_TAG to \Squawk which is the UCM VOB. There is indeed a 1:1 mapping of my components in Jazz and CC. So, when I do the initial export (without trying an import or any sync prior), it fails as it's looking for the CC component in .\Squawk\<component dir> and not just .\<component dir>
Tim
Tim
The ClearCase Connector maintains a 1-1 mapping between Jazz components
and ClearCase "components". For ClearCase/UCM, a ClearCase component is
just a UCM component. For ClearCase/Base (non-UCM) a ClearCase
component is a VOB.
Since you are using UCM (since you have a PVOB), then the Jazz
components will be mapped to UCM components. In particular, it sounds
like now that you have the COMPONENT_PVOB_TAG set to a valid VOB, your
Jazz components are now being correctly exported to an appropriate UCM
component, correct?
Cheers,
Geoff
tfeeney wrote:
Use of Lucene was from another example we tested demonstrating the
same error in a simpler case. Here's what I have: Squawk VOB/PVOB
with components UI, Documentation and Core. The VOB is empty, no
code loaded.
In RTC, I have the same three components with one or more projects
loaded as follows:
net.jazz.uws.squawk
net.jazz.uws.squawk.doc
net.jazz.uws.squawk.ui
net.jazz.uws.squawk.squawkers
I set the tag property as you suggested to \Squawk. Now what happens
when I do the export is RTC looks for a VOB at M:/<view>/Squawk/UI. Does the connector assume a 1:1 mapping of
Component to VOB?
Tim
![](http://jazz.net/_images/myphoto/f7612192b7225fea5f08908b313aca2e.jpg)
Your workaround does work. If I import a dummy project first from a CC component to a Jazz component, I can then export the projects in the Jazz component to CC.
Tim
Tim
A tip:
We want to fix any issues arising during export, so please report
anything strange you encounter.
But if you are pressed for time, a simple workaround for export problems
is to create a dummy project in the ClearCase component, import that
dummy project (which will get the ClearCase component linked to the
appropriate Jazz component), and then export the Jazz component (or
selected projects in the Jazz component).
Cheers,
Geoff
Geoffrey Clemm wrote:
I re-read your original message, and noted that you stated that the
component you were exporting should have already existed in ClearCase
(i.e. you already had a component named Lucene in ClearCase).
In this case, it shouldn't have tried to create a new component in
ClearCase, but rather should have exported to that existing component.
So from the behavior you were seeing, it was acting like it could not
find that component. Are you sure that a component by that name already
existed in ClearCase?
Another question: Were you trying to export the entire component (named
Lucene), or were you just exporting one of the projects in that component?
Geoffrey Clemm wrote:
In M5, the ClearCase Connector would create the root directory of a
new component in your PVOB.
In M6a, it no longer assumes that you want to store your component
root directories into your PVOB (although it is legal to put component
root directories in the PVOB, normally, the PVOB is reserved for
metadata information only).
Instead, there is a ClearCase property called COMPONENT_VOB_TAG (which
defaults to "\jazz-components") which specifies the vob tag of the vob
where you want the root directories to be created.
Note that the only thing that can appear at the root of the view is a
VOB, and the ClearCase Connector will never automatically create a new
VOB.
tfeeney wrote:
I have a single UCM VOB with four components. Each of these
components are also in RTC. I setup my ClearCase Sync Stream with
the correct components/baselines. Upon exporting from RTC to CC, I
get an error similar to
javax.wvcm.WvcmException: Failure while trying to execute cleartool
command: stderr: cleartool: Error: Unable to resolve component root
directory
"M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene":
ClearCase object not found cleartool: Error: Unable to create
component. stdout: cmd: cleartool mkcomp -nc -root
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012/jazz-components/Lucene
component:Lucene@vobuuid:301217bd.f2154f6c.83ff.a9:40:ca:2e:f8:d1 dir:
M:/DO_NOT_USE_Squawk_Integration_3f7639f6-d32c-4ceb-9583-a27d1dc32012
Note the ..jazz-components/Lucene path. Where does the
'jazz-components' in the path come from? The component dir should be
at the root of the view and not under some 'jazz-components' folder.
Synch has changed in M6a. The same gestures I used to set this up in
M5 now no longer work. I need to know how best to get the initial
export/synch of code from RTC into CC setup and then maintained.