You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jose Alberto Fernandez <JF...@viquity.com> on 2000/10/01 01:50:04 UTC
RE: Output file attribute for task?
In the last week we have seen adding outfile attribute to <echo>, <exec>,
and the list keeps on growing. It looks like this is a generalized need that
probably should be done at the Task level and get all tasks able to use this
functionality.
I am thinking on having Task.getOutputStream() which will return the correct
output stream depending of the value for "outfile" or "appendfile". What do
people thing about this?
Jose Alberto
> -----Original Message-----
> From: Diane Holt [mailto:holtdl@yahoo.com]
> Sent: Friday, September 29, 2000 8:46 PM
> To: ant-dev@jakarta.apache.org
> Subject: Output file attribute for <java> task?
>
>
> How hard would it be to add an output attribute to the <java>
> task? Think
> I could just try to lift the code that does it for <exec>?
> Would anyone
> else even be interested in having an output attribute for <java>? Or
> should I just try to rewrite the java class that currently
> has its output
> going to stdout take a file arg instead and write the file itself?
>
> Thanks,
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
>