开发者

CruiseControl.Net Deleted Files

I'm using CC.net on against a Source Safe database, and have a problem that someone deleted some files from the database, and the deleted files weren开发者_高级运维't removed. I didn't see a config switch or anything that I could set for it to clear the code directory prior to building.

Am I missing something?


As Alex says there is a CleanCopy flag in the source code block. However, my situation was a little different. I use subversion and I found the CleanCopy flag was NOT doing what it said it would on the box.

To solve the problem I added a task which runs a batch file that clears out the build's working copy prior to checkout. It is a bit slower (about 1 min for code base of 400Mb) but guarantees no old code.

Kindness,

Dan


All you need to do is set CleanCopy to true in your source control block. The documentation is very clear on this. The above answer is the wrong way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜