Pergunta

Boa tarde,

Parece que eu estou um pouco preso no CC-terra nos dias de hoje, mas eu tenho um (espero) pergunta final sobre a adequada de tratamento de CC:

Ao usar o Assistente de Criação de CC View, posso criar uma visão adequada Snapshot na minha máquina perfeitamente bem, porém ao tentar fazer o mesmo com o comando mkview, ele falhar ...

Usando os resultados do assistente a criação de vistas para o (trabalho) seguinte ponto de vista:

cleartool> lsview battjo6r_view2
  battjo6r_view2       \\Eh40yd4c\Views\battjo6r_view2.vws
cleartool> lsview -long battjo6r_view2
Tag: battjo6r_view2
  Global path: \\Eh40yd4c\Views\battjo6r_view2.vws
  Server host: Eh40yd4c
  Region: CT_WORK
  Active: NO
  View tag uuid:f34cf43f.b4d048df.845d.ed:21:a2:9c:45:ff
View on host: Eh40yd4c
View server access path: D:\Views\battjo6r_view2.vws
View uuid: f34cf43f.b4d048df.845d.ed:21:a2:9c:45:ff
View attributes: snapshot
View owner: WW005\battjo6r

No entanto, ao tentar criar a exibição manualmente através

mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws -host Eh40yd4c -hpath D:\Views\battjo6r_view2.vws -gpath \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2

... eu recebo o seguinte erro:

cleartool> mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws -host Eh40yd4c -hpath D:\Views\battjo6r_view2.vws -gpath \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2
Created view.
Host-local path: Eh40yd4c:D:\Views\battjo6r_view2.vws
Global path:     \\Eh40yd4c\Views\battjo6r_view2.vws
cleartool: Error: Unable to find view by uuid:6f99f7ae.6a5d40e4.ba32.37:8e:e5:a4:ed:18, last known at "<viewhost>:<stg_path>".
cleartool: Error: Unable to establish connection to snapshot view "6f99f7ae.6a5d40e4.ba32.37:8e:e5:a4:ed:18": ClearCase object not found
cleartool: Warning: Unable to open snapshot view "D:\SnapShotViews\battjo6r_view2".
cleartool: Error: Unable to create snapshot view "battjo6r_view2".
Removing the view ...

Qualquer idéia de por que isso está acontecendo? Estou faltando alguma coisa?

Foi útil?

Solução

Isto é geralmente devido à albd não execução.
Na verdade, ele é em execução, mas ClearCase tenta contatar o host errado.

Aqui:. Host-local path: Eh40yd4c:D:\Views\battjo6r_view2.vws é altamente suspeito

Tente:

mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws -host Eh40yd4c -hpath \\Eh40yd4c\Views\battjo6r_view2.vws -gpath \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2

Isto é:. Hpath = GPath

ou, se o primeiro comando falhar, também (é mais simples e pode funcionar)

mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2

Felizmente, ClearCase poderia determinar por si mesmo o anfitrião, hpath e GPath.

Outras dicas

cleartool mkview -snapshot -tag <tag_name> -vws \\<computer_name>\<views_folder>\<view_name> <path_of_localstorage>

Para mais detalhes você pode seguir este link .

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top