ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: getting stdout from tasks
Date Tue, 24 Apr 2001 06:39:59 GMT
Laramie Crocker <> wrote:

> Does anyone know how to get stdout from a task (either exec or an
> extension of such that I can set a
> property with the output?

Short of writing your onw task? Don't think so.

The easiest way probably is to make the task write the output to a
file (exec has an out attribute for this) and then write a simple task
that reads this file and sets a property from it.


View raw message