Do the same thing but put the delete in an NAnt or MSBuild script -
this way you could get it to ignore any errors.

The mailing list is moderated, hence will be a delay until someone
moderates the message.


Craig

On Jan 22, 6:11 am, Scott <[email protected]> wrote:
> 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