clearcase - How to add attribute to every file in VOB at element (not version) level -


i'm trying add attribute element every file in given vob, , can't find syntax avoid having attribute added version instead of element.

here's i'm trying:

cleartool find . -exec "cleartool mkattr exception \\\"new_val\\\" \"%clearcase_pn%\"" 

i output effect of

created attribute "exception" on ".\bigrdj6000\bigrdj6000.fmb@@\main\4". 

i've tried lots of combinations of -nxn, -all , -element on find command, can't seem rid of @@\main\4

can please put me out of misery?

try:

cleartool find . -exec "cleartool mkattr exception \\\"new_val\\\" \"%clearcase_pn%@@\""                                                                                    ^^                                                                                     |                                                   (final '@@' reference element) 

the problem \"%clearcase_pn%\" represents file within view, meaning version of file selected config spec of view.

however, \"%clearcase_pn%@@\" should represent element of file.

this compliant mkattr man page:

cmd-context mkattr responsible \"anne\" hello.c@@ created attribute "responsible" on "hello.c@@". 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -