现象:先用project explorer工具,右击component-->New-->Component in a VOB,输入component名:P3012-sipstack,报Error Creat Component(baseview 没有问题);之后,用CCImportWizard工具导入P3012-sipstack到baseview后,用project explorer工具,右击component-->Import-->VOB Directory as Component选择P3012-sipstack,报错:Entry named "P3012-sipstack" already exist。hfhnnxt
在baseview上可以看到“P3012-sipstack”,文件夹有文件,decribe显示:hfhnnxt
E:\ccroot\release_platform_cbb_int\plt_cbb_d\P-build\releasescript>cleartool describe -long M:\chenhuiren_view\plt_cbb_dhfhnnxt
\P3012-sipstack@@hfhnnxt
directory element "M:\chenhuiren_view\plt_cbb_d\P3012-sipstack@@"hfhnnxt
created 28-八月-08.11:18:45 by chenhuiren.dmusers@chenhuirenhfhnnxt
element type: directoryhfhnnxt
Protection:hfhnnxt
User : KDCRD\chenhuiren : rwxhfhnnxt
Group: KDCRD\dmusers : rwxhfhnnxt
Other: : rwxhfhnnxt
source pool: sdft cleartext pool: cdft derived pool: ddfthfhnnxt
hfhnnxt
在UCM动态视图上可以看到“P3012-sipstack”,文件夹没有文件,decribe显示:hfhnnxt
E:\ccroot\release_platform_cbb_int\plt_cbb_d\P-build\releasescript>cleartool describe -long M:\chenhuiren_platform_cbb_ihfhnnxt
nt\plt_cbb_d\P3012-sipstack@@hfhnnxt
directory element "M:\chenhuiren_platform_cbb_int\plt_cbb_d\P3012-sipstack@@"hfhnnxt
created 28-八月-08.10:44:06 by chenhuiren.dmusers@chenhuirenhfhnnxt
"Create component "P3012-sipstack" root directory in VOB root"hfhnnxt
element type: directoryhfhnnxt
Protection:hfhnnxt
User : KDCRD\chenhuiren : rwxhfhnnxt
Group: KDCRD\dmusers : rwxhfhnnxt
Other: : rwxhfhnnxt
source pool: sdft cleartext pool: cdft derived pool: ddfthfhnnxt
hfhnnxt
hfhnnxt
解决:重新启动机器,用project explorer工具,右击component-->New-->Component in a VOB,输入component名:P3013-sipstack,没有报错。怀疑是因为晚上备份vob会断服务,project explorer没有关闭重新打开导致。hfhnnxt
hfhnnxt
后续处理:因P3012-sipstack这个目录在每个视图(baseview和UCM动态视图)中都存在,故想删除。把baseview中的P3012-sipstack用rmelem命令进行删除,报:hfhnnxt
cleartool> rmelem -nc M:\chenhuiren_view\plt_cbb_d\P3012-sipstackhfhnnxt
cleartool: Warning: Object "demo" no longer referenced.hfhnnxt
cleartool: Warning: Moving object to vob lost+found directory as "demo.02c1b8cd3hfhnnxt
8ed4d09a43e2cb0a284dd96".hfhnnxt
继续到lost+found目录下进行用rmelem删除,报:hfhnnxt
cleartool> rmelem -nc compile.bat.c244e90176504c51b4b4cc798b4f8876hfhnnxt
cleartool: Error: Error from VOB database: "\plt_cbb_d".hfhnnxt
cleartool: Error: Unable to remove element "compile.bat.c244e90176504c51b4b4cc79hfhnnxt
8b4f8876".hfhnnxt
baseview视图下“P3012-sipstack”文件夹已删除到lost+found中,但是UCM动态视图下仍然有“P3012-sipstack”文件夹,且UCM动态视图下的lost+found 下也有"compile.bat.c244e90176504c51b4b4cc798b4f8876".hfhnnxt
hfhnnxt
hfhnnxt
求助:如何把lost+found下的文件和文件夹删干净?hfhnnxt
hfhnnxt
[ 本帖最后由 ada_chr 于 2008-8-29 14:16 编辑 ] |