ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn <javajun...@koyuru.com>
Subject Foreach task param attribute contains ?
Date Thu, 14 Aug 2003 05:05:20 GMT
Haia Hello,

I am trying to do a Foreach task (taking the .txt files in a directory) 
that calls a target containing an exec task which needs to pass in the name 
of each .txt file as an arguement.

How can I most easily get the names of my .txt files into each exec task 
that the Foreach calls?

Will using a param attribute in the Foreach task do that?  Or something in 
Java that I could write?

Using ant1.6 if it make a difference.

-- 
Shawn

Happily using M2, Opera's revolutionary e-mail client: 
http://www.opera.com/m2/

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


Mime
View raw message