RE: Invoking a target (Ant 1.7) in a loop (Ant-Contrib)

2007-01-17 Thread Rebo, Alex
Use the uri attribute of (type/task)def, for example: p is @{p} In ant 1.7.0, one can drop the resource, for example: peter Thank you once again, Peter. Would it be beneficial to specify xmlns:ac="ant

RE: Invoking a target (Ant 1.7) in a loop (Ant-Contrib)

2007-01-17 Thread Rebo, Alex
However as Steve says, most ant tasks are meant to work on filesets/paths, and normally would have built-in iterator/dependence checking, so in general and if possible one should see it

RE: Invoking a target (Ant 1.7) in a loop (Ant-Contrib)

2007-01-17 Thread Rebo, Alex
> 1. it's resource aware,but only file resources work; Should I use this as a blessing to go ahead with The BIG Loop? Look, Steve, at this point ( just started with Ant) I can't express an educated opinion and parasiting on other's source. > > Well, I already expressed my concerns regarding "

RE: Invoking a target (Ant 1.7) in a loop (Ant-Contrib)

2007-01-17 Thread Rebo, Alex
> well, I dont think you need to do any big loops or iteration. You can do > a bulk verify too, using verifyproperty=true The BIG loop was brought in because it is not clear whether will failfast after the first unsuccessfull iteration. While does NOT allow inside, it is not clear

RE: Invoking a target (Ant 1.7) in a loop (Ant-Contrib)

2007-01-17 Thread Rebo, Alex
orse the effort, Steve? PS.: Could you, please, elaborate on "In Ant 1.7, many support resources, which provides you even more ways to source data."? -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 17, 2007 06:02 To: Ant Users Lis

RE: Invoking a target (Ant 1.7) in a loop (Ant-Contrib)

2007-01-16 Thread Rebo, Alex
t why not make computeCheckSum a macrodef instead of a target? Does it ever "stand on its own" or is it sorta a functional unit to be called? By that, I mean do you ever execute ant using that as a target or is it a utility type thing? Rebo, Alex wrote: > Hello! > > In atte

RE: Invoking a target (Ant 1.7) in a loop (Ant-Contrib)

2007-01-16 Thread Rebo, Alex
Looks like it works indeed!! Thank you, Dominique! -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 15:28 To: Ant Users List Subject: Re: Invoking a target (Ant 1.7) in a loop (Ant-Contrib) > Looks like it's calling itself via [antcal

Invoking a target (Ant 1.7) in a loop (Ant-Contrib)

2007-01-16 Thread Rebo, Alex
Hello! In attempt to compute checksums for all files in a directory I wrote this: . Created checksum file for ${fileToWorkOn}. OK. It's, probably, the worst Ant you ever seen. (BTW, any comments on

RE: Resource Collections in 1.7

2007-01-04 Thread Rebo, Alex
ry 04, 2007 13:34 To: Ant Users List Subject: Re: Resource Collections in 1.7 --- "Rebo, Alex" <[EMAIL PROTECTED]> wrote: Any relation to Max? (sorry, couldn't resist...) > > >Hello, > > > >Could you, please, help me to understand how to > utilize Reso

RE: Resource Collections in 1.7

2007-01-04 Thread Rebo, Alex
anuary 04, 2007 13:34 To: Ant Users List Subject: Re: Resource Collections in 1.7 --- "Rebo, Alex" <[EMAIL PROTECTED]> wrote: Any relation to Max? (sorry, couldn't resist...) > > >Hello, > > > >Could you, please, help me to understand how to > utilize Re

Resource Collections in 1.7

2007-01-04 Thread Rebo, Alex
>Hello, > >Could you, please, help me to understand how to utilize Resource >Collections? > >As an example, please, consider illustrating how Ant task may verify the >proper # of elements in a particular collection (say, number of files in a >fileset) or >operate only on a subset of elements tha