Monday, September 3, 2007

ClearCase merge support for Ant

I you use Ant, ClearCase and continuous integration this one is for you.

There are situations where you need to ensure that a ClearCase view/branch is up-to-date with another view/branch (e.g. the mainline) before the build can proceed. Of course you also want to automate this step, and maybe even make it part or you continuous integration checks (e.g. build fails if the 2 branches are not in sync).

Unfortunately, Ant's ClearCase optional tasks don't offer support for merge operations.

I have written a 'CCFindmerge' Ant task and submitted it to Apache to remedy that situation. It will probably be included in some future Ant version, but if this feature is important to you I suggest you vote for it to speed up the process.