ClearCase list of files with given label type applied

前端 未结 2 1005
遇见更好的自我
遇见更好的自我 2021-01-12 15:15

We currently use clearcase on a project, and there is an HTML file that was generated with clearcase that contains all of the filenames of the files that were included in a

相关标签:
2条回答
  • 2021-01-12 16:06

    I am not sure about the exact HTML file you are referring to. Do you have an example of its name, and of its content? If you edit your question with those data, I will be able to add to this answer.

    But anyway, if that file is not generated directly by ClearCase, the solution remains to parse a cleartool find command (see also Additional examples of the cleartool find command article)

    cleartool find . –version "lbtype(MY_LABEL-1.0)"
    

    and to build your html file with, for instance, a Perl script.
    You could even add this action into a ClearCase sub-menu entry, like illustrated in the ten best scripts article.

    0 讨论(0)
  • 2021-01-12 16:09

    What you might be looking for is Report Builder (also known in ClearCase Explorer as Report Wizard). In Report Builder you can navigate to Elements/Labels which has the "Elements with Labels" and "Versions with Labels" reports. After the report runs you have the option to save the results as HTML, XML, or CSV.

    0 讨论(0)
提交回复
热议问题