Bug 26453 - Exec task displays 'error' mesage "Result: XX"
Summary: Exec task displays 'error' mesage "Result: XX"
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: unspecified
Hardware: Other other
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2004-01-27 04:01 UTC by Eric Safern
Modified: 2008-11-24 03:58 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Eric Safern 2004-01-27 04:01:51 UTC
The exec task displays the message "Result: whatever" at the MSG_ERR level, 
making it impossible to shut up, even with -quiet.

log("Result: " + returnCode, Project.MSG_ERR);

This line should be

log("Result: " + returnCode, Project.MSG_INFO);

or even

log("Result: " + returnCode, Project.MSG_VERBOSE);

If I want to know the result of the exec, I can print the resultproperty set by 
the exec task myself.