UCM dynamicview config spec : excluding all *.xml but include build.xml
I am using Clearcase UCM with a dynamic view. (On linux)
In my view there many files ending in .xml. Some of开发者_Go百科 there are "build.xml" files, others are data files. I want to view only "build.xml" files in my view.
Following line in config spec excludes all the "*.xml" files.
element *.xml -none
How can I include just the "build.xml" files?
Just add the select rule before the non-select rule
element build.xml .../yourStream/LATEST
element build.xml yourBaseline
element *.xml -none
Note: those rules should be put at the beginning of the UCM config spec of your view, otherwise the usual UCM select rules would be applied first, and you would end up seeing all files within your component.
精彩评论