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 2012/07/04 09:57:02 UTC

[Bug 53506] New: output is duplicated when using redirector inside exec

https://issues.apache.org/bugzilla/show_bug.cgi?id=53506

          Priority: P2
            Bug ID: 53506
          Assignee: notifications@ant.apache.org
           Summary: output is duplicated when using redirector inside exec
          Severity: normal
    Classification: Unclassified
                OS: Windows XP
          Reporter: martinst@resmed.de
          Hardware: PC
            Status: NEW
           Version: 1.8.1
         Component: Core tasks
           Product: Ant

Using exec together with redirector and not using the error attribute leads to
a duplication on stdout (each line is duplicated).

                     <exec executable="@{executable}" 
                          dir="@{dir}"
                          resultproperty="@{resultproperty}"              
                          failonerror="@{failonerror}"
                          timeout="@{timeout}">
                          <redirector 
                           output = "@{logfile}"
                           alwayslog = "true"
                           append = "true"
                           />

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53506] output is duplicated when using redirector inside exec

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

jakub.neubauer <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from jakub.neubauer <ja...@gmail.com> ---
Hi, I'm facing this issue too. But when I run it from console, it works, but
when I just redirect the output of the ant (on the commandline, not with any
option in build.xml), the error output is duplicated

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53506] output is duplicated when using redirector inside exec

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

jakub.neubauer <ja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub.neubauer@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53506] output is duplicated when using redirector inside exec

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
doesn't seem to happen for me.  Can you provide an example build file that
demonstrates the behavior?

-- 
You are receiving this mail because:
You are the assignee for the bug.