Hmm... Ant 1.7 in combination with antcontrib <for> is
designed to support this.  Assuming you have to use
production releases, I would write either:

(a)  a custom task to convert a property set to a list
or
(b)  a custom type to wrap a PropertySet ps, with
    public Iterator iterator() {
        return ps.getProperties().values().iterator();
    }

I would pass the result to <for> in either case.  (b)
would ultimately be similar to the way Ant 1.7 works.

HTH,
Matt

--- Clifton Craig <[EMAIL PROTECTED]> wrote:

> I need to iterate a propertyset which lists a
> project's dependencies. It's 
> basically just a list of name/val pairs matching a
> 3rd party product (or open 
> source jar) with a version. I want to execute an
> Antcall or something of the 
> like to ask our jar repository for the proper jar
> file so the build can 
> procede after the dependencies have been met. Any
> good advice on this? Thanx 
> in advance!
> 
> -- 
> Clifton C. Craig, Software Engineer
> [EMAIL PROTECTED]
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to