It has been a while since i merged the rake task code into the trunk
but IIRC it fails if there is a bad return code. I'll have a look into
that. Could you provide your configuration?
regards,
Daniel
On Tue, 2 Dec 2008 15:23:45 -0800 (PST)
PilotBob <[EMAIL PROTECTED]> wrote:
>
> 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