ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53335] Output redirection fails if antcall is started using a script
Date Sun, 17 Jun 2012 05:52:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53335

Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Stefan Bodewig <bodewig@apache.org> ---
Anything sent to System.out is passed to the task's handleOutput method. 
<antcall> forwards it to the task it executes explicitly.

In the case of your scripted task, System.out's output never reaches the
antcall, much less the java task and thus cannot be handled by the
outputproperty.  You have to forward it explicitly.  See the
handleOutput/Input/ErrorOutput/Flush/ErrorFlush methods in CallTarget.

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

Mime
View raw message