ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: how to echo propertyset to file?
Date Mon, 02 Jun 2008 14:30:16 GMT

-----Original Message-----
From: Daniel Gröndal [] 
Sent: Monday, June 02, 2008 4:25 PM
To: Ant Users List
Subject: RE: how to echo propertyset to file?


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:


Any ideas on how to do this as well?


As already posted in this thread =

means, you get automatically a comma separated list when using
${} and you can dump it separated with
linefeed as you want it with antcontrib <for>

<for list="${}" param="prop">
   <echo file="file/to/dump/to/props.ext" append="true">@{prop}${line.separator}</echo>

that's all

Regards, Gilbert

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

View raw message