Or use <apply> to run tidy on a fileset, either one at a time like you're doing now, or all at once. --DD
-----Original Message----- From: Diane Holt [mailto:holtdl@;yahoo.com] Sent: Thursday, November 07, 2002 1:29 PM To: Ant Users List Subject: Re: What is the best way to loop in ant? --- Matt Benson <[EMAIL PROTECTED]> wrote: > Yay! The good old <foreach> task from ant-contrib! > > http://ant-contrib.sourceforge.net > > -Matt > > --- GreatOne <[EMAIL PROTECTED]> wrote: > > What is the best way to loop in ant? For example, > > what > > is the ant code equivalent to the following? > > > > for %i in (*.html) do tidy -im %i Or find (or write) a Tidy task that takes a fileset. Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- 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>
