2011-02-08 3 views
1

Java API를 사용하여 Clear Case 서버를 도움말 IBM ClearCase CM API에 연결하려고합니다.
는 현재 내가 설정 아래에 있습니다Rational Clear Case CM API가 소스 코드 체크 아웃에 실패했습니다.

  1. 나는 명확한 경우 클라이언트 (CCRC) 7.1 내 컴퓨터에 설치입니다 있습니다.
  2. 보기는 CCRC 클라이언트를 사용하여 VOB 모델 유형으로 생성됩니다.

나는 오류가 아래에 보여주는 자바 코드를 그 위에 사용하여 결제 코드를하려고하면 :

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

관련 문제