ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42787] New: - Relax restricion on quiet and failonerror attributes both set to 'true' with 'delete' task
Date Sun, 01 Jul 2007 20:58:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42787>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42787

           Summary: Relax restricion on quiet and failonerror attributes
                    both set to 'true' with 'delete' task
           Product: Ant
           Version: 1.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: max.gilead@gmail.com


When user tries to set both quiet and failonerror attributes to 'true' with
'delete' task Ant reports an error:

"quiet and failonerror cannot both be set to true"

While I may not know some important reason for this for a mere user it looks
like unnecessary restriction. Failonerror, as the doc says "Controls whether an
error (such as a failure to delete a file) stops the build or is merely reported
to the screen." I believe that when used with quiet attribute set to 'true' Ant
should report an error on failure or don't display anything on success. Simple
and intuitive :)

I have a pretty long build script which displays a LOT of standard messages and
I'm implementing 'quiet' switch for it. With current Ant behavior I won't be
able to silence output of 'delete' tasks.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message