I see. Do you have any suggestion to resolve this? I have only started
using rake so I have a very basic script so far. But, I don't want all/
any of the rake output to show as an error unless of course there is
an error.

Thanks,
BOb


On Dec 3, 3:37 am, Daniel Hommel <[EMAIL PROTECTED]>
wrote:
> The output of the rake task is showing up in the nant output because
> both tasks use the same XML format. The problem you have with the cp
> thing showing as error is that rake seems to write it to the standard
> error stream. It doesn't look like a CC.Net issue.
>
> regards,
>
> Daniel
>
> Daniel Hommel writes:
> > 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

Reply via email to