-----Ursprüngliche Nachricht-
> >>Von: rohit15 [mailto:rohitkulkarn...@gmail.com]
> >>Gesendet: Montag, 23. November 2009 11:07
> >>An: user@ant.apache.org
> >>Betreff: Parsing comma-separated string and getting handle to
> >>each token
> >>
>
>
>>-Ursprüngliche Nachricht-
>>Von: rohit15 [mailto:rohitkulkarn...@gmail.com]
>>Gesendet: Montag, 23. November 2009 11:07
>>An: user@ant.apache.org
>>Betreff: Parsing comma-separated string and getting handle to
>>each token
>>
>>
Jan
>-Ursprüngliche Nachricht-
>Von: rohit15 [mailto:rohitkulkarn...@gmail.com]
>Gesendet: Montag, 23. November 2009 11:07
>An: user@ant.apache.org
>Betreff: Parsing comma-separated string and getting handle to
>each token
>
>
>Hi gurus
To solve your problem, i'd suggest a scripted approach using something
like the or task. If using groovy for example, this
would allow you to use similar Java code as in your suggestion and give
you much more fine grained control over error handling etc e.g. if the
data in the file is malformed f
iterated using stringtokenizer and referred as
stringtkr.token[1], or token[2] -something on those lines]
Line param :: @{lineparam}
--
View this message in context:
http://old.nabble.com/Parsing-comma-separated-string-and-getting-handle-to-each-token-tp26474937p26474937.html
Se