clearcasecleartoolannotatevob

Cleartool annotate command giving error - Not an object in a vob:"java file"


I am new to clearcase and I am trying to generate a blame file using annotate command, but I am getting the following error :

cleartool: Error: Not an object in a vob: "App.java"

I followed these steps :

  1. Created a view in clearcase explorer
  2. Browsed to the location (C:\test_view)
  3. Ran: cleartool annotate App.java

This resulted in the following -

cleartool: Error: Not an object in a vob: "App.java".


Solution

  • Please create VOBs through create VOB program.

    Then create dynamic view using clearcase explorer.

    Mount the VOBs on the dynamic view.

    Once mounted, in the view explorer, right click and add text file.

    rt-click text file to add to source and then checkin the file after making the necessary changes.

    from command prompt go to the VOB and run cleartool annotate

    Z:>cd test_tut_element_vob

    Z:\test_tut_element_vob>cleartool annotate TestFile.txt Annotated result written to "TestFile.txt.ann".enter image description here