I am trying to connect clear case server using Java code with help IBM ClearCase CM API.
Currently I have below setup:
You could first try to resolve the "discordance" issue: See technote swg21223087.
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:
CCRC
client loads a file (foo.txt
)- Native ClearCase client renames file (
foo.txt
toFOO.TXT
changing the case ONLY) in dynamic viewCCRC
client performs "update resources" operationCCRC
will seeFOO.TXT
in a discordance state
Solution (help page):
- 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.)
- 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 orRefresh > Repair > Discordance
from the view context menu.- Specify restore options in the dialog box and then click Apply.