Hello all...

I am using the rake task in v1.4.1. It seems to work ok. A bit weird
that the output of rake displays in the nant output on the
dashboard... but I can live with that.

My question is, I have a FileList that does a cp. This shows up as an
error on the build report... I assume this is because it shows as an
error in the build log... like this:

<buildresults>
  <message level="Error">cp Unit Test/eDex.Test/App.config.template
Unit Test/eDex.Test/app.config</message>
</buildresults>

Any idea why that would be logged with level="Error"? The copy did not
fail.

Here is the ruby code in the rake file:
FileList['**/app.config.template'].each do |src|
  cp src, "#{File.dirname(src)}/app.config" unless File::exist? "#
{File.dirname(src)}/app.config")
end

Thanks in advance,
BOb

Reply via email to