You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Stacy J. Prowell" <sp...@cs.utk.edu> on 2002/01/14 21:15:36 UTC

Iterative tasks?

Quick question:  I couldn't find the answer in the FAQ or archives...

I want to process a fileset with the antlr task which, unfortunately, 
doesn't take a fileset.  Is there some way to iteratively apply the 
antlr task to all the elements of a fileset?
-- 
Dr. Stacy J. Prowell, Research Associate Professor
The University of Tennessee, Dept. of Computer Science
mailto:sprowell@cs.utk.edu

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Iterative tasks?

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 14 Jan 2002, Stacy J. Prowell <sp...@cs.utk.edu> wrote:
> Is there some way to iteratively apply the antlr task to all the
> elements of a fileset?

Maybe <apply> would work in your case?

Other than that, people have submitted "foreach" tasks to this and the
development mailing list several times, one can be found in the
ant-contrib project at SourceForge for example.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>