ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raagu <>
Subject Re: Help On delimiter attribute in for task...
Date Sun, 26 Jul 2009 13:33:48 GMT

No.. If we write "\r\n" , then it will take both 'r' and 'n' as delimiters ..
So it cant distinguish end of line.. 
In @{letter} I am getting whole file content..

Btw In project properties file , the output of "dir /b" will be there....
That is all d directories in that directory will be there..

Raagu wrote:
> Hello I have an ant script which reads from file ""
> The code snippet is below
> <loadfile property="src" srcFile="" />
> <fixcrlf file="" eol="dos" fixlast="true" />
> <for param="letter" list="${src}" delimiter="">
>  <sequential>
>    <echo>@{letter}</echo>
> </sequential>
> </for>
> I want to read line by line. I am not getting what should I give in the
> delititer attribute of for task..
> pls tel me  the delimiter attribute value so that for each loop @{letter}
> contains one line from from file..

View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message