Hi

that bzrclean-tree command, what is that?
I think that's the source of the problem

if that writes output to std-err, it explains the logging of CCNet

if you want to remove a folder and it's contents, why not use :
rmdir <folder> /q /s
works very fast

with kind regards
Ruben Willems

On 18 November 2011 17:28, Christopher <[email protected]> wrote:

> Hi,
>
> Forgive me if this is a simple question, but after doing a few
> searches in this newsgroup and the documentation, I haven't succeeded
> in finding an answer.
>
> I'm using CC.NET 1.5.7256.1 and I'm running a batch file as a task
> like this:
>
>      <tasks>
>        <exec>
>          <executable>clean.bat</executable>
>          <baseDirectory>$(WorkingDir)</baseDirectory>
>          <description>Cleaning directory</description>
>        </exec>
>        ..
>      </tasks>
>
> The batch file calls my source control process to execute a command.
> This command returns progress data to the console, which is useful
> when studying the log and looks like this in the CC.NET console:
>
> [Server C:\BuildServer\1.5\Scripts\clean.bat] D:\Server\Project>bzr
> clean-tree --force
> [Server C:\BuildServer\1.5\Scripts\clean.bat] deleting paths:
> [Server C:\BuildServer\1.5\Scripts\clean.bat]   Binaries/Chilkat/
> current/ChilkatDotNet4.dll
> [Server C:\BuildServer\1.5\Scripts\clean.bat]   Binaries/Chilkat/
> current/AnyCPU/ChilkatDotNet4.dll
> [Server C:\BuildServer\1.5\Scripts\clean.bat]   Framework/QueryBuilder/
> FsQueryBuilder/bin
> [Server C:\BuildServer\1.5\Scripts\clean.bat]   Framework/QueryBuilder/
> FsQueryBuilder/obj
> ...
>
> Then, after it has succefully completed, the following log data is
> created:
>
> ...
> [Server:INFO] Task error:
> <buildresults>
>  <message level="Error">deleting paths:</message>
>  <message level="Error">  Binaries/Chilkat/current/
> ChilkatDotNet4.dll</message>
>  <message level="Error">  Binaries/Chilkat/current/AnyCPU/
> ChilkatDotNet4.dll</message>
>  <message level="Error">  Framework/QueryBuilder/FsQueryBuilder/bin</
> message>
>  <message level="Error">  Framework/QueryBuilder/FsQueryBuilder/obj</
> message>
>  <message level="Error"> M  .bzrignore</message>
> </buildresults>
>
> Why does CC.NET register this output as errors and how do I prevent
> this?
>
> Thanks in advance,
>
> Christopher Hughes
>
>
>

Reply via email to