Thanks Kris
I believe I've found the tool to use - ant-contrib's <foreach> task.
However, documentation and examples seem exceedingly sparse.
Has anyone used the foreach task and would be able to give me some examples
of using it?
Thanks!
At 08:53 PM 10/21/2002 -0400, you wrote:
>I'm not sure if there is an ANT task that does what you need to do. If
>there isn't you would always right your own task and make it do exactly
>what you want.
>
>Kris
>
>
> > -----Original Message-----
> > From: LeeAnn Pultz [mailto:leeann@sesame.com]
> > Sent: Monday, October 21, 2002 2:48 PM
> > To: ant-user@jakarta.apache.org
> > Subject: Point me in the right direction please?
> >
><snip>
> >
> > I need to somehow list the current files in that folder, and
> > add one line
> > to a script file for each of the files in that folder.
> >
><more snip>
> > Is there any way of looping through a directory listing, and
> > putting the
> > file names into variables that I can then concatenate onto
> > the rest of the
> > string?
>
>--
>To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
LeeAnn Pultz
Sesame Technology
831-461-7100 x115
leeann@sesame.com
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|