I have searched around for a solution to this, but, not found an
answer yet.

I want to do a clean build every time I build.  According to this,
http://jira.public.thoughtworks.org/browse/CCNET-1256,
<cleanCopy>True</cleanCopy> for <sourcecontrol type="svn"> is not in a
CC build yet.  As a work around, I decided to do this:

        <prebuild>
            <exec>
                <executable>cmd</executable>
                <buildArgs>/c rmdir /s /q c:\buildFolder\code\trunk
\projectFolder</buildArgs>
            </exec>
        </prebuild>

This work fine if the folder exists.  But, the first time the project
is built, before the code is checked out, the build fails with "The
system cannot find the file specified."  How can I get CC to ignore
that error?

Thanks,
Scott Vickery

Reply via email to