clearcase symbolic link file not visible from a snapshot view

天涯浪子 提交于 2019-12-06 15:41:27
VonC

First, do a cleartool ls in C:\path\to\my\view\VOB_II\SampleDir

The status can explain why the element is not loaded.

Typically, you need selections rules that selects also the parent folders (SampleDir and Vob_II) before being able to select A.txt.

I would recommend at least adding an element * /main/LATEST (stop rule)

element \VOB_II\SampleDir\A.txt ...\branch1\LATEST
element * /main/LATEST
load \VOB_II\ SampleDir

Second, it looks like you are trying to load the actual A.txt (the one in VOB_II\SampleDir\A.txt), and not the symbolic link one the A.txt pointing to ..\..\..\VOB_II\SampleDir\A.txt

I don't know where is that symbolic link A.txt. In Vob_I?


Third, see "Symbolic links in snapshot views"

Snapshot views created from Linux or the UNIX system maintain standard symbolic link behavior.

In the context of loading a snapshot view, links are treated as:

  • VOB links (those that point to objects inside the VOB) and
  • non-VOB links (those that point outside the VOB).

Hard VOB links are followed; symbolic links are copy-created.
If a VOB link cannot be resolved, an error results.
Non-VOB links are resolved, if possible, but it is not an error if they cannot be resolved.

Snapshot views created from a Rational ClearCase host running Windows software do not support links.
VOB symbolic link behavior is approximated in the following ways:

If a load rule selects a symbolic link, the link target is copied into the view at the link path.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!