This is a pretty low tech approach, I can't think of a
native ant way of doing this. 
Could you pipe your output to a file and then read it as a
properties file, set the values you need and then use these
properties for your args ? You might need to use tokens etc 
for substitution. 
Cheers
Kevin Broderick


-----Original Message-----
From: Oisin Kim [mailto:[EMAIL PROTECTED]]
Sent: 17 April 2002 10:33
To: Ant Users List
Subject: Run time commands


Hi All,
I've googled to no avail and still can't find a solution to this
problem, I need to give runtime inputs to programs run using targets
which contain the "java" command. 
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!
Thanks for any help in advance!
Oisin


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to