Showing posts with label builds. Show all posts
Showing posts with label builds. Show all posts

Thursday, August 27, 2009

Builds and Clearcase...

Builds so far have been the biggest pain point --

Restore resouce...

The component that i am part of has multiple modules and i am responsible for coding for only one of the modules. When i do a build of the whole system, it builds all the modules and if one of the modules has problem the build fails. When one of the other modules was creating problem i deleted from my local system and commented those modules in pom.xml..... I forgot about it completely.

About 15 days later when i wanted to build the whole component i took an update of the code using clearcase remote client and then i tried building the code. But build was failing.... !!!

I was not able to figure out the issue for a long time.. but the solution was very simple -- My deleting the other modules code from local machine created discordance between the clearcase view and the clearcase webserver - I had to do a restore resource option in clearcase to clear the discordance. I was aware of such an option, but it either did not occur to me immediately or this is the first instance when i actually used it.

when I built now the build was successful....

more about restore @ https://publib.boulder.ibm.com/infocenter/cchelp/v7r1m0/index.jsp?topic=/com.ibm.rational.clearcase.ccrc.help.doc/topics/u_restore.htm