Go Bucks
Go Bucks

Reputation: 151

Can checkouts in ClearCase effect the build

if a file is checked out in ClearCase; it would use the earlier version and still would build, is this correct? I'm thinking they had a checkout that was to fix a build issue and the build failed because of the checkout

Upvotes: 1

Views: 95

Answers (2)

VonC
VonC

Reputation: 1324537

The config spec of a view usually starts with:

element * CHECKEDOUT

That means that, yes, your view will select the current file, whatever the other selection rules are.

I recommend checking for files in checkout, but also hijacked files (modified locally without having been checked out, for snapshot view, or even eclipsed files for dynamic views) before starting a build.

Check also for any other "private" files (not initially present and selected in the view), because they also can influence a build by their presence.

Upvotes: 0

eran
eran

Reputation: 6921

as far as I know, clearcase using the current file, so if file is checked out in a view and you build this view it will take the checked out file

However, note that if you do uncheckout and you are not using cmake, it might miss this change, since the timestamp of the file after the uncheckout operation is older

Upvotes: 0

Related Questions