Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC2.x ClearCase connector symbolic links supported?

Hi,

I got a customer question. I searched a bit but only got less sure about this.

Does the ClearCase connector to RTC supports Symbolic Links?
Since 2.0.0.2 Jazz SCM supports symbolic links. I was not able to find if this also extends to the CC connector supporting it.

The 2.0.0.2 help indicates it does not
Restriction: Unlike Rational ClearCase, Rational Team Concert source control does not support hard links or symbolic links. If multiple hard links to the same file are encountered during an import, only one link target (the final one encountered during the import) remains in the synchronized stream after the import completes. If a symbolic link is encountered, a text file whose name is the name of the symbolic line and whose content identifies the target pathname of the symbolic link is created in the synchronized stream.


Is this still accurate? What about 3.0?

0 votes


Accepted answer

Permanent link
That release note is out-of-date. I've submitted work item 109085 to
get it fixed. If your RTC server supports symbolic links (as I recall,
that came in 2.0.0.2), and if your CC Connector client is at least at
that level, then CC symbolic links will be synchronized with RTC
symbolic links.

Cheers,
Geoff

rschoon wrote:
Hi,

I got a customer question. I searched a bit but only got less sure
about this.

Does the ClearCase connector to RTC supports Symbolic Links?
Since 2.0.0.2 Jazz SCM supports symbolic links. I was not able to find
if this also extends to the CC connector supporting it.

The 2.0.0.2 help indicates it does not

Restriction: Unlike Rational ClearCase, Rational Team Concert source
control does not support hard links or symbolic links. If multiple
hard links to the same file are encountered during an import, only
one link target (the final one encountered during the import) remains
in the synchronized stream after the import completes. If a symbolic
link is encountered, a text file whose name is the name of the
symbolic line and whose content identifies the target pathname of the
symbolic link is created in the synchronized
stream.


Is this still accurate? What about 3.0?
Ralph Schoon selected this answer as the correct answer

0 votes


10 other answers

Permanent link
Hello,
I am not able to get it to work.
Here is our setup..
We are using RTC server 2.0.0.2
We have clear case project that contains symbolic links. We need to connect Team Concert to the same CC project..
I followed the instruction to create ClearCase sync stream and I was able to import the files with no error. However when I try to load the components to the Repository work space I got errors related to symbolic links...



Unable to create symbolic link /Code/DeviceCode/ProToF/ProToF_SW_Common/tool_support to ../../../../../99_TGProToF/ProToF_Components/ProToF_SW_Common/tool_support because the underlying platform does not support symbolic links
Unable to create symbolic

0 votes


Permanent link
Are you loading the content on Windows? Windows doesn't support symbolic
links.You will need to load onto a *nix based platform if your project
contains symbolic links.

Michael

Talqaisi wrote:
Hello,
I am not able to get it to work.
Here is our setup..
We are using RTC server 2.0.0.2
We have clear case project that contains symbolic links. We need to
connect Team Concert to the same CC project..
I followed the instruction to create ClearCase sync stream and I was
able to import the files with no error. However when I try to load
the components to the Repository work space I got errors related to
symbolic links...



Unable to create symbolic link
/Code/DeviceCode/ProToF/ProToF_SW_Common/tool_support to
./../../../../99_TGProToF/ProToF_Components/ProToF_SW_Common/tool_support
because the underlying platform does not support symbolic links
Unable to create symbolic

0 votes


Permanent link
That is an error message from Team Concert, usually meaning you are
running on Windows, and Windows does not support symbolic links. Was
the sync host machine (the one that you started the sync engine on) a
machine that supports symbolic links (i.e., a Unix machine)?

Cheers,
Geoff

Talqaisi wrote:
Hello,
I am not able to get it to work.
Here is our setup..
We are using RTC server 2.0.0.2
We have clear case project that contains symbolic links. We need to
connect Team Concert to the same CC project..
I followed the instruction to create ClearCase sync stream and I was
able to import the files with no error. However when I try to load
the components to the Repository work space I got errors related to
symbolic links...



Unable to create symbolic link
/Code/DeviceCode/ProToF/ProToF_SW_Common/tool_support to
../../../../../99_TGProToF/ProToF_Components/ProToF_SW_Common/tool_support
because the underlying platform does not support symbolic links
Unable to create symbolic

0 votes


Permanent link
Hello,
I am using Windows machine for the sync engine... as we are using Windows machine for ClearCase (with symbolic links). Clear Case must have different structure than RTC.
I will change the sync machine to Unix and try again.
Thanks.

0 votes


Permanent link
Hello,
Just to confirm..
Only the sync host machine need to be unix (1 machine), not every machine using team concert client?
Thanks.

0 votes


Permanent link
Yes, that is correct, only the sync host machine needs to be Unix.

But note that the windows machines will not be able to see the symbolic
links (ClearCase "fakes" the symbolic links on a Windows machine, by
creating copies of the files being pointed at, but RTC does not).

Cheers,
Geoff

Talqaisi wrote:
Hello,
Just to confirm..
Only the sync host machine need to be unix (1 machine), not every
machine using team concert client?
Thanks.

0 votes


Permanent link
RTC stops loading the workspace when it hits this error (it seems like it atleast completes the component).

It would be nice if it continued loading...

And it would be nice if it didn't think that the link were removed just because the platform didn't support them. THAT seems like a bug...

0 votes


Permanent link
It should load everything but the symbolic links ... at least, that's
what it did for me when I was testing. I'd suggest submitting this as
an RTC defect.

Cheers,
Geoff

On 3/30/2011 9:53 AM, scottchapman wrote:
RTC stops loading the workspace when it hits this error (it seems like
it atleast completes the component).

It would be nice if it continued loading...

0 votes


Permanent link
Hi,

Is there any progress with that issue?
Same problem in RTC3.
My customer is using symbolic links.
Also we are using RTC build system.
The fetch at the windows build system fails and does not continue to load the rest of the files.

Thanks,

Yaron

0 votes

1–15 items
page 1of 1 pagesof 2 pages

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 16 '10, 9:34 a.m.

Question was seen: 12,895 times

Last updated: Mar 16 '10, 9:34 a.m.

Confirmation Cancel Confirm