ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rhino" <rhi...@sympatico.ca>
Subject Re: Calling java and capturing output to a property
Date Sat, 20 Nov 2004 13:21:15 GMT

----- Original Message ----- 
From: "Robert Mark Bram" <relaxedrob@optusnet.com.au>
To: "Ant" <user@ant.apache.org>
Sent: Saturday, November 20, 2004 5:38 AM
Subject: Calling java and capturing output to a property


> Hi All!
>
> I have a small app that brings up a Java FileChooser, takes the user's
> selection and writes the file name to standard output. Is there a way to
> call that app from ant and capture the output into a property?
>
> Thanks for any advice!
>
Ant is intended to run in batch, not to interact with the user. The only
exception I know is the <input> task. How do you plan to let the user make
the selection from the FileChooser?

As cool as Ant is, I think you're going beyond the bounds of what Ant is
intended to do.

Rhino


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message