Dominique Devienne wrote:
<loadproperties>? How is that? I don't have a property style file to load.a,b,c,dFrom: Nat Gross [mailto:[EMAIL PROTECTED]
Hi;
In a <for> loop, instead of "list=a,b,c,d,", I would like to get
from a text file, with each element on its own line.
(Something like list=file:myFile.txt.)
Can it be done?
Yes. Simply load the file into a property first, using <loadproperties>. --DD
Say I have a 'myFile.txt" as follows.
----------
This is line 1 of the file.
This is another line.
This is the last line of myFile
----------
On the first iteration of the loop, I want the @{param} to return 'This is line 1 of the file.', on the 2nd 'This is another line.'.
Same as if:<for list="This is line 1 of the file.,This is another line.,This is the last line of myFile". />
Thanks; -nat
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]