Menu

#664 random error output from exec task results

0.85
open
nobody
Tasks (408)
5
2008-02-05
2008-02-05
Sid DeLuca
No

The exec task is being used with the Perforce executable (source control provider) in order to generate a list of changes since the last release to production. The output is logged to a text file. The task used looks similar to this:

<exec program="p4" verbose="false" output="releases\${Label}.txt">
<arg line ="changes" />
<arg line ="-l" />
<arg line ="-s" />
<arg line ="submitted" />
<arg line ="//myProj/...@${RelDate},@now" />
</exec>

The output generated shows a list of descriptions associated with the changelists submitted to source control.

What I get is a file with 250 entries, however some entries are logged to the standard output as errors.

Upon closer inspection, it would appear as though all changelist entries reported as errors to the standard output actually have the string "error" somewhere within the description.

Can someone please take a look at this?

Discussion


Log in to post a comment.