ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <davidjen...@directvinternet.com>
Subject Re: Can Ant iterate?
Date Thu, 22 Aug 2002 00:43:26 GMT
I think you want apply

david jencks

On 2002.08.21 20:43:41 -0400 Ron Chernich wrote:
> We are considering migrating from make to ant for our Java projects, but
> have hit a hitch where a makefile tag needs to iterate over a pattern
> matched set of files, calling a java application.  Something like:
> 
> LIST=`ls config/*.xml`
> ...
> for F in $(LIST); do
>   $(JAVA) com.mumble.SchemaCompiler $(F)
> done
> 
> I can see how FileSet will give me the list and AntCall could execute a
> Task to run our schema compiler, but can't see how to join the two up. 
> Is it possible or do we just not get it?
> 
> Ron Chernich
> Engineering Director, DSTC
> 

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