2011-02-08 6 views
1

Javaコードを使用してクリアケースサーバーにヘルプIBM ClearCase CM APIを接続しようとしています。
現在、私は、セットアップの下にいますRational ClearCase CM APIがソースコードのチェックアウトに失敗する

  1. 私はクリアケースクライアント(CCRC)7.1を持っているが、私のマシン上にインストールしています。
  2. ビューは、CCRCクライアントを使用してモデルタイプVOBで作成されます。

私はエラーの下に示したJavaコード、その上使用してチェックアウトコードにしよう:

CRVAP0087E (conflict): CCRC command 'checkout' failed: Unable to find VOB object 
for "E:\ccweb_views\akash.sharma\akash.sharma_AR_TAS_Release1_dev\": 
not a ClearCase object 
Version discordance detected for "E:\ccweb_views\akash.sharma\akash.sharma_AR_TAS_Release1_dev\". 

ClearCase CM Server: Error: Not an object in a vob: "E:\ccweb_views\akash.sharma\akash.sharma_AR_TAS_Release1_dev\". 
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.realException(StpExceptionImpl.java:493) at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:572) 
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:538) 
at com.ibm.rational.stp.client.internal.cc.Util.ccrcCmdStatusToWvcmException(Util.java:155)* 

答えて

0

あなたが最初の「不一致」問題の解決を試みることができる:technote swg21223087を参照してください。

Checkout resource with discordance

The server and client are in disagreement about the state of the element version in question. This is known as discordance.

This state can occur after you undo checkout or undo hijack on a file or directory element.

Discordance will also occur in the following scenario:

  1. CCRC client loads a file (foo.txt)
  2. Native ClearCase client renames file (foo.txt to FOO.TXT changing the case ONLY) in dynamic view
  3. CCRC client performs "update resources" operation
  4. CCRC will see FOO.TXT in a discordance state

ソリューション(help page):[こちら]

  1. Select the resources that you want to restore. You can select individual resources or an entire ClearCase view. (Restoring a resource that is not in an unknown state has no effect on the resource.)
  2. To open the Restore Resources dialog box, take either of the following actions:
    • Select Refresh > Repair Discordance from the ClearCase menu.
    • Select Refresh > Repair Discordance from the element context menu or Refresh > Repair > Discordance from the view context menu.
  3. Specify restore options in the dialog box and then click Apply.
+0

はあなたが与えることができる私の質問(http://stackoverflow.com/questions/4507288/ignore-binary-files- in-git-rebase-theirs)いくつかの愛された注目、かなりしてください? :) – Benjol

+0

@Benjol:あなたの希望は私の命令です;)私は私の答えが実際に役立つ(あなたのシナリオでは正確にテストされていない)ことを願っています。 – VonC

関連する問題