-----Original Message----- From: Daniel Gröndal [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 4:25 PM To: Ant Users List Subject: RE: how to echo propertyset to file?
/* Hi! Well, not too bad. This might be a good starting point. I would however like to replace the "," with a newline and get an output like this: foo_four=four foo_one=one foo_three=three foo_two=two Any ideas on how to do this as well? //daniel */ As already posted in this thread = means, you get automatically a comma separated list when using ${toString:midlet.properties} and you can dump it separated with linefeed as you want it with antcontrib <for> <for list="${toString:midlet.properties}" param="prop"> <sequential> <echo file="file/to/dump/to/props.ext" append="true">@{prop}${line.separator}</echo> </sequential> </for> that's all Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]