Pregunta

Buenas tardes,

Parece que estoy algo atascado en CC-land estos días, pero tengo una pregunta final (con suerte) con respecto al manejo adecuado de CC:

Al usar el Asistente de creación de vistas de CC, puedo crear una vista de instantáneas adecuada en mi máquina perfectamente bien, sin embargo, al intentar hacer lo mismo con el comando mkview, falla ...

Usando los resultados del asistente de creación de vistas en la siguiente vista (en funcionamiento):

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

Sin embargo, al intentar crear la vista manualmente a través de

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

... Recibo el siguiente error:

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 ...

¿Alguna idea de por qué sucede esto? ¿Me estoy perdiendo algo?

¿Fue útil?

Solución

Esto generalmente se debe a que albd no se está ejecutando.
En realidad, se está ejecutando , pero ClearCase intenta comunicarse con el host incorrecto.

Aquí: Ruta del host local: Eh40yd4c: D: \ Views \ battjo6r_view2.vws es altamente sospechoso.

Prueba:

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

Eso es: hpath = gpath.

o, si el primer comando falla, también (es más simple y puede funcionar)

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

Con suerte, ClearCase podría determinar por sí mismo el host, hpath y gpath.

Otros consejos

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

Para obtener más información, puede seguir este enlace .

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top