ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Run time commands
Date Wed, 17 Apr 2002 09:51:53 GMT
On Wed, 17 Apr 2002, Oisin Kim <oisin.kim@aurium.net> wrote:

> I know I can pass inputs using an argument <arg value="xxx"/> but I
> need to input data base on the output from the program I'm running!

I assume you run that command via <exec>, yes?

If so, you can set a property to the output of your command (<exec>'s
outputpropoperty attribute) and later use that property inside <arg>.

Stefan

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


Mime
View raw message