https://bz.apache.org/bugzilla/show_bug.cgi?id=58833

            Bug ID: 58833
           Summary: exec outputproperty is pseudo-randomly blanked
           Product: Ant
           Version: 1.9.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]

We recently upgraded from 1.7.1 to 1.9.3. In our build script we have:

<exec executable="/bin/sh" outputproperty="host.name">                          
    <arg value="-c" />                                                          
    <arg value="uname -n"/>
</exec>

It's still working, most of the time, but occasionally the property will end up
blank. It does seem to be truly random; running the script hundreds of times in
a row results in a few of the runs behaving like this.

More anecdotally we're seeing problems where stdout from other exec invocations
is being truncated, even when output and outputproperty isn't being set i.e.
it's supposed to go to the log, prefixed with [exec].

We've had a lot of experience with Ant 1.7.1 and have never seen this problem,
so we're 99% confident that it's a regression between 1.7.1 and 1.9.3.

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

Reply via email to