ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Broderick, Kevin" <kevin.broder...@iona.com>
Subject RE: Run time commands
Date Wed, 17 Apr 2002 09:43:46 GMT
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:oisin.kim@aurium.net]
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>


--
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