You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/09/15 20:47:47 UTC

DO NOT REPLY [Bug 47844] New: task: 'logError' attribute is ingnored when 'inputstring' attribute is set in

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.

DO NOT REPLY [Bug 47844] task: 'logError' attribute is ingnored when 'inputstring' attribute is set in

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47844

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-09-16 02:16:15 PDT ---
seems to be fixed in the meantime, see passing antunit test in svn revision
815680

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

DO NOT REPLY [Bug 47844] task: 'logError' attribute is ingnored when 'inputstring' attribute is set in

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47844

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |WORKSFORME

--- Comment #2 from Stefan Bodewig <bo...@apache.org> 2009-09-16 02:17:45 PDT ---
Hmm, I just double checked and the same tests pass for ant 1.7.1 as well.

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