ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, E.J." <EJ.Cirame...@workscape.com>
Subject RE: What is the best way to loop in ant?
Date Thu, 14 Nov 2002 03:42:28 GMT
is it an acceptable solution to simply write the batch/shell script to do the wrapping with
ant and then let ant handle the rest (renaming, copying, etc...).

-----Original Message-----
From: Ciramella, E.J. 
Sent: Wednesday, November 13, 2002 10:30 PM
To: Ant Users List
Subject: RE: What is the best way to loop in ant?


We need to run the oracle wrap utility, it takes two parameters, iname and oname (in file
which would be in my case .sql files and oname .xxx).  Is there a way to iterate though all
the files and pass them to wrap.exe?

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com]
Sent: Thursday, November 07, 2002 2:31 PM
To: 'Ant Users List'
Subject: RE: What is the best way to loop in ant?


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 <gudnabrsam@yahoo.com> wrote:
> Yay!  The good old <foreach> task from ant-contrib!
> 
> http://ant-contrib.sourceforge.net
> 
> -Matt
> 
> --- GreatOne <dave-@pacbell.net> 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

=====
(holtdl@yahoo.com)



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


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


Mime
View raw message