I really have numerous problems with TeamCity and ClearCase, and I just noticed another strange behaviour:
I have a dynamic view on my build server with the following config spec:
element * CHECKEDOUT
element * iRMA_for_IT
element * /main/LATEST
... now what I did as the very last change is to add a file to a directory, applied the iRMA_for_IT label to it, went to teamcity, triggered a new build with this particular view as vs root, and the build failed because the file could not be found. Then I realized I forgot to apply the label to the parent folder's latest revision (the one that contains 'added element <file>' as change). Checked the view manually on the build server.. et voila, it's there, view is looking at the proper revision of the folder and has the file. I go back to TeamCity, trigger a 'check for pending changes'.. .wait til it's done.. but hrmm.. nothing. Trigger a build... build fails again because file is missing. But it isn't in the view itself? Why's there a discrepancy between the actual CC view and what TeamCity sees and uses??