ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marchioni Francesco <>
Subject passing a Collection as paramater
Date Tue, 05 Feb 2002 17:41:45 GMT
Hi all,
I'd like to know if it's possible to pass a Collection of parameters to my
Own Task.
At the moment I need to pass a list or urls to the Task in this way......

<property name="url1" value="http://....."/>
<property name="url2" value="http://....."/>
<property name="url3" value="http://....."/>

  <taskdef name="mytask" classname="BeanTask"/>

    <mytask url1="${url1}" url2="${url2}" url3="${url3}"

...but as the url can grow up I'd rather find a way to pass a Collection of
to the bean. Does anybody know how to do it?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message