ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47844] New: <java> task: 'logError' attribute is ingnored when 'inputstring' attribute is set in
Date Tue, 15 Sep 2009 18:47:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47844

           Summary: <java> task: 'logError' attribute is ingnored when
                    'inputstring' attribute is set in
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: ayermolayev@rs.com


For <java> task the attribute logError="true" is used to separate standard
output stream from the error output strem. 
But when 'inputstring' attrubute is set the 'logError' attribute is ignored and
the error output is included in the standard output.

Example#1: <java classname="SomeClass" output="standard.txt" logError="true"/>
error output from SomeClass goes to Ant's log.

Example#2: <java classname="SomeClass" output="standard.txt" logError="true"
inputstream=""/> error output from SomeClass goes to standard.txt.

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

Mime
View raw message