Re: AW: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread Adam Leggett (UPCO)
data.txt : localVariable1,propVariable11,propVariable12 localVariable2,propVariable21,propVariable22 localVariable3,propVariable31,propVariable32 def f = new File(ant.project.getProperty('file.path')) def lines = f.readLines()

Re: AW: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread rohit15
Actually my confusion starts at this point, When i use this code , it does print each comma-delimited string ;but i wish to do something like this The value of String 1 : ${value1} The value of String 2 : ${value2}. Now pass this to macro2 The value of String 3 : ${value3}. Now pass this to macr

AW: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread Jan.Materne
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, > >Can you please help me reso