You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/02/06 14:15:31 UTC
DO NOT REPLY [Bug 7330] -
exec writes stderr into output
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7330
exec writes stderr into output
conor@cortexebusiness.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |1.6
------- Additional Comments From conor@cortexebusiness.com.au 2003-02-06 13:15 -------
Fixed. The exec task takes 3 new attributes
"logError". If this is set to true, stderr is sent to the Ant log and the
redirected ouout only contains stdout
"error" - this attribute is the name a file to take stderr. If this is set, the
redirected output will only contain stdout
"errorProperty" - this redirects stderr to a property. this can be combined with
error and again the output will only contain stdout.
If output is not redirected but stderr is, the output will appear in the ant log.