August 15, 2011

AnthillPro: CVSNT Labeling Fails During the Build

If you come across a failed labeling step with a “cvsnt server: nothing known about ???” error, this could indicate that you have two files/folders that are spelled the same but with differing capitalization.

If your Source Control Software is running on UNIX which is case sensitive (therefore allowing two folders to be spelled the same but with different capitalization) and your Build Machine is a Windows machine (which by default is case in-sensitive) then when the Anthill Build workflow attempts to Label the code after the compilation, you will receive this kind of an error.

command line: cvs tag
 cvsnt server: nothing known about .folder
 cvsnt server: nothing known about myFile.txt
 cvsnt [server aborted]: correct the above errors first!
 command exit code: 1


You will need to get the application team to rename one of their directories so that they differ on more than just capitalization... and your problems will disappear during the next build attempt.

Another tricky labeling error that I have seen is when some of the code was deleted prior to the labeling step.

0 comments:

Post a Comment