I have an Ant build that has been running smoothly, essentially running Checkstyle on our codebase each morning. I just upgraded Teamcity from 4.0.2 to 4.5.2, and now that build is failing with the following error:
[08:59:19]: [Updating sources] Updating /home/mbickfor/buildAgent/work/15d2b8b8ff114e85/BuildMaster
[08:59:19]: [Updating sources] Updating /home/mbickfor/buildAgent/work/15d2b8b8ff114e85/checkstyle-run.xml
[08:59:19]: [Updating sources] Error while applying patch: /home/mbickfor/buildAgent/work/15d2b8b8ff114e85/checkstyle-run.xml (Is a directory)
Here is a simplified (many projects eliminated) version of my checkout rules:
+:ecom/branches/2009.0.3_Release => ecom
+:BuildMaster/trunk => BuildMaster
+:BuildMaster/trunk/tools/checkstyle/checkstyle-run.xml => checkstyle-run.xml
Checkstyle-run.xml is, obviously, a file, and the intent is to copy it to the root of the workspace. However, now a directory with that name is being created in the workspace instead, so the build fails. I tried changing the checkout rule to point to / rather than naming the file, and it still fails except it says that the build directory is a directory. What do I need to change to make this work?
TIA for any help.