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 31153] New: - Task.handleErrorFlush()
Date Thu, 09 Sep 2004 21:16:11 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=31153>.
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=31153

Task.handleErrorFlush()

           Summary: Task.handleErrorFlush()
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: jsai@esri.com


The javadoc for org.apache.tools.ant.Tash.handleErrorFlush describes it at
'Handles an error line by logging it with the ERR priority'. But in the source
it calls handleErrorOutput, which logs with WARN priority.

protected void handleErrorFlush(String output) {
    handleErrorOutput(output);
}

should be

protected void handleErrorFlush(String output) {
    log(output, org.apache.tools.ant.Project.MSG_ERR);
}

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


Mime
View raw message