Re: Property array?

2008-08-14 Thread markww
wrote: > > What is it you are trying to achieve? I have used a comma-separated > string property, split it and iterated over it (using ant-contrib). > Would that work for you rather than writing a custom task? > > hth, > Vijay > > markww wrote: >> Hmm I just

RE: Property array?

2008-08-14 Thread markww
Hmm I just read through a custom Task tutorial, but I don't think they'll help, because you can't specify a variable number of attributes, they must be known in advance. In the examples I've read, your custom Task class has to have getters and setters for all the attributes you want to use. But if

Property array?

2008-08-14 Thread markww
Hi, Is there any way to make an array property in Ant? I want to write some stuff to a file based on an array property. Something like the user enters this: for (i = 0; i < ${colors}; i++) { } Yeah I'm just making the syntax up as I go along -