--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > From: Nat Gross > [mailto:[EMAIL PROTECTED] > > > > Hi; > > In a <for> loop, instead of "list=a,b,c,d,", I > would like to get > a,b,c,d > > 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
Also, know that you'll either use filterchains to translate EOL to comma, or specify the line breaks from the file as the delimiter on your loop. -Matt __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]