-----Original Message----- From: Daniel Gröndal [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 11:30 AM To: user@ant.apache.org Subject: how to echo propertyset to file?
p.s. beware of the typos ;-) forgot also the append="true" attribute in the echo task corrected = ... Just use = <echo file="file/to/dump/to/props.ext">${toString:midlet.properties}</echo> ... use antcontrib <for> to get it line separated, something like= <for list="${toString:midlet.properties}" param="prop"> <sequential> <echo file="file/to/dump/to/props.ext" append="true">@{prop}${line.separator}</echo> </sequential> </for> Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]