B
Bob Archer
I am using CC.Net to call rake via the rake task in cc.net.=20
=20
In my rake file I have a cp command:
=20
FileList['**/app.config.template'].each do |src|
cp src, "#{File.dirname(src)}/app.config" unless
File::exist?("#{File.dirname(src)}/app.config")
end
=20
However, in the cc.net log the above cp gets logged as:
=20
<buildresults>
<message level=3D"Error">cp Unit Test/eDex.Test/App.config.template =
Unit
Test/eDex.Test/app.config</message>
</buildresults>
=20
On the cc.net mail list they told me this:
=20
"The problem you have with the cp=20
thing showing as error is that rake seems to write it to the standard=20
error stream."
=20
Why is this written to std error instead of stdout? The cp did not
error?
=20
Thanks,
BOb
=20
=20
In my rake file I have a cp command:
=20
FileList['**/app.config.template'].each do |src|
cp src, "#{File.dirname(src)}/app.config" unless
File::exist?("#{File.dirname(src)}/app.config")
end
=20
However, in the cc.net log the above cp gets logged as:
=20
<buildresults>
<message level=3D"Error">cp Unit Test/eDex.Test/App.config.template =
Unit
Test/eDex.Test/app.config</message>
</buildresults>
=20
On the cc.net mail list they told me this:
=20
"The problem you have with the cp=20
thing showing as error is that rake seems to write it to the standard=20
error stream."
=20
Why is this written to std error instead of stdout? The cp did not
error?
=20
Thanks,
BOb
=20