更新时间:2023-12-05 19:12:52
首先,尝试使用 cleartool ls
在这些文件的父目录中,在Shell或DOS窗口中。
您可以看到那里的状态,
还要检查动态视图的配置规范是否类似于快照视图:
cleartool catcs
快照视图 cleartool edcs
从动态视图要使非UCM动态视图反映UCM快照视图,可能会非常复杂。
***在同一Stream上创建动态UCM视图。
至少,您的配置规范应以停止规则结尾:
element * / main / LATEST
#或
元素/ src_base / ... / main / LATEST
最后一条规则仅适用于/ src_base目录,而不适用于子元素。 / p>
We usually use snapshot views and they work just fine.
However, I tried to use a dynamic view recently and doesn't show empty files in the working directory. We use Python so namely, it doesn't show empty __init__.py
files, which breaks most of our code. All other files in the same directory, and non-empty __init__.py
files exist.
Is this a known issue? What can I do?
Running cleartool ls
says about the __init__py
file: "no version selected".
My config spec looks something like this:
element * CHECKEDOUT
element * SubComponenet1_VersionX
element * SubComponenet2_VersionY
element * SubComponenet3_VersionZ
element /src_base /main/LATEST
Assuming the empty files are inside src_base
and considering the last rule, how can a file not have a selected version?
First, try a cleartool ls
in the parent directory of those file, in a shell or a DOS windows.
You can see there status, and see if they are selected by your config spec.
Check also that the config spec of your dynamic view is similar to your snapshot view:
cleartool catcs
within your snapshot viewcleartool edcs
from your dynamic viewFor a non-UCM dynamic view to reflect an UCM snapshot view, it can be pretty complex.
It is best to create a dynamic UCM view on the same Stream.
At the very least, your config spec should end with a stop-rule:
element * /main/LATEST
# or
element /src_base/... /main/LATEST
Your last rule is only for /src_base directory, and not for the sub-elements.