Frage

Guten Tag

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

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

Unter Verwendung der die Ansicht Assistenten zum Erstellen Ergebnisse in den (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 versucht, die Ansicht manuell über

erstellen
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

... Ich erhalte den folgenden Fehler:

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? Bin ich etwas fehlt?

War es hilfreich?

Lösung

Dies ist in der Regel aufgrund der ALBD nicht aktiv.
Eigentlich ist es ist läuft, aber Clearcase versucht, die falsche Host zu kontaktieren.

Hier:. Host-local path: Eh40yd4c:D:\Views\battjo6r_view2.vws ist höchst 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 ist einfacher und arbeiten kann)

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

Wir hoffen, Clearcase für sich der Wirt, hpath und gpath bestimmen könnte.

Andere Tipps

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

Für Einzelheiten können Sie folgen diesen Link .

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top