2009-07-30 3 views
3

Guten Tag,Proper ‚Cleartool mkview‘ für Clearcase Snapshot Ansicht Schaffung

Scheint, wie ich etwas in CC-Land in diesen Tagen stecke, aber ich habe eine (hoffentlich) letzte Frage in Bezug auf die richtige CC-Handhabung:

wenn die CC-Ansicht Creation Wizard verwendet, kann ich eine richtige Snapshot-Ansicht auf meiner Maschine völlig in Ordnung, aber schaffen, wenn das gleiche mit dem mkview Befehl zu tun versuchen, es ... nicht

die Assistenten zum erstellen der Ansicht verwenden Ergebnisse in die (Arbeits-) folgende Ansicht:

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 

Wenn jedoch die Ansicht manuell über

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 

zu schaffen versuchen ... ich die folgende Fehlermeldung erhalten:

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

Jede Idee, warum dies geschieht? Fehle ich etwas?

+0

Gibt es Neuigkeiten zu diesem Befehl "' mkview "? Wenn Sie immer noch Fehlermeldungen haben, lassen Sie sie als Kommentar zu meiner Antwort und ich werde es mir ansehen. – VonC

Antwort

2

Dies ist in der Regel aufgrund der Albd nicht ausgeführt.
Eigentlich ist ausgeführt, aber ClearCase versucht, den falschen Host zu kontaktieren.

Hier ist Host-local path: Eh40yd4c:D:\Views\battjo6r_view2.vws sehr verdächtig.

Versuchen:

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 

Das heißt: hpath = gpath.

oder, wenn der erste Befehl fehlschlägt, auch (es einfacher ist, und arbeiten kann)

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

Hoffentlich Clearcase für sich den Host, hpath und gpath bestimmen konnte.

+0

Der erste funktionierte! Danke .. viel .. wirklich :) –

+0

@ Jörg Froh Ich könnte helfen: das ist ein "Klassiker" (ich habe beim ersten Mal ziemlich viel Zeit verloren) – VonC

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

Für Einzelheiten können Sie folgen this link.

Verwandte Themen