Thank you, its work fine
But I must omit the space : my.list.directories=${dir.one},${dir.two}
I will try util:replace to do this.
Now I have something that transform a directory structure in an other with
a properties config.
Nicolas,
>Hi Nicolas,
>
>I'm not a perfect jelly hacker but try this.
>
> <util:tokenize var="directories" delim=",">
> ${my.list.directories}
> </util:tokenize>
> <j:forEach var="directory" items="directories">
> ...
> </j:forEach>
>
>Hopt this helps!
>Toby
>
>>
>> Hi
>>
>> I define a property :
>> my.list.directories=${dir.one}, ${dir.two}
>>
>> And I try to iterate in this list so I do :
>> <j:forEach var="directory" items="${my.list.directories}">
>> <!-- do something-->
>> </j:forEach>
>>
>> But I do only one iteration and the var equals : "${dir.one},
>> ${dir.two}"
>> with the values of ${dir.one} and ${dir.two}. The list is not
>> separate.
>>
>> Does list of properties are extract in maven ?
>> How do I iterate such collection of items?
>>
>> Thank
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]