静态视图:
用cleartool ls -recurse -view_only命名, 例如:
E:/user1_snap/my_test_vob>cleartool ls
bye.txt.unloaded
clearmake@@/main/4 Rule: /main/LATEST
cs.txt@@/main/4 [not loaded] Rule: /main/LATEST
customer service@@/main/CHECKEDOUT from /main/4 [not loaded] Rule: CHECKEDOUT
foo.qmsg@@/main/0 Rule: /main/LATEST
foo.txt
foo2.qmsg@@/main/0 Rule: /main/LATEST
hello.txt@@/main/2 [not loaded] Rule: /main/LATEST
lost+found@@/main/0 [not loaded] Rule: /main/LATEST
lots_of_files@@/main/1 [not loaded] Rule: /main/LATEST
E:/user1_snap/my_test_vob>cleartool ls -r -view_only
bye.txt.unloaded
foo.txt
./clearmake/goodbye.txt@@/main/CHECKEDOUT from /main/2 Rule: CHECKEDOUT
./customer service/import/hello.doc@@/main/CHECKEDOUT from /main/2 [not loaded, checkedout but removed]
动态视图:
用cleartool lsprivate命令, 但不能列出共享的DO(derived objects), 例如:
I:/material>cleartool lsprivate
/material/hello/Debug/StdAfx.obj
/material/hello/Debug/hello.exe
/material/hello/Debug/hello.ilk
/material/hello/Debug/hello.obj
/material/hello/Debug/hello.pch
/material/hello/Debug/hello.pdb
/material/hello/Debug/hello.res
/material/hello/Debug/vc60.idb
/material/hello/Debug/vc60.pdb
/material/project1/Debug/StdAfx.obj
/material/project1/Debug/project1.exe
/material/project1/Debug/project1.ilk
/material/project1/Debug/project1.obj
.........
注意: cleartool lsprivate命令不能在静态View中使用,否则会有如下错误提示:
cleartool: Error: This command is not supported in a snapshot view.
在静态View中只能使用cleartool ls -r -view_only命令来得到相应的输出。