It's all about the answers!

Ask a question

Trouble exporting to ClearCase from RTC with M6a


Tim Feeney (30745745) | asked Apr 21 '08, 9:34 p.m.
JAZZ DEVELOPER
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.

9 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 21 '08, 10:43 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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:
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.

permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 21 '08, 11:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 21 '08, 11:49 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Tim Feeney (30745745) | answered Apr 22 '08, 10:11 a.m.
JAZZ DEVELOPER
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

permanent link
Tim Feeney (30745745) | answered Apr 22 '08, 10:20 a.m.
JAZZ DEVELOPER
Regarding what I'm trying to export, I am trying to export the four projects

net.jazz.uws.squawk
net.jazz.uws.squawk.doc
net.jazz.uws.squawk.ui
net.jazz.uws.squawk.squawkers

Tim

permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 22 '08, 7:01 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
Geoffrey Clemm (30.1k33035) | answered Apr 22 '08, 7:07 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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:
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.

permanent link
Tim Feeney (30745745) | answered Apr 22 '08, 9:13 p.m.
JAZZ DEVELOPER
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

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

permanent link
Tim Feeney (30745745) | answered Apr 22 '08, 9:16 p.m.
JAZZ DEVELOPER
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

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.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.