title: How to generate a comma separated list in Ant?
body: <p>How can I generate a comma-separated list from a for loop in Ant?</p>
  
  <p>I can loop through a source property with ant-contrib for, but I'm not sure how to output to the destination property:</p>
  
  <pre><code>&lt;ac:for list="${comma_seperated}" param="entry"&gt;
      &lt;sequential&gt;
           &lt;if&gt;
           &lt;isset property="@{entry}_enabled" /&gt;
               &lt;then&gt;
               &lt;!-- append to property enabled_list here --&gt;
               &lt;/then&gt;
           &lt;/if&gt;
      &lt;/sequential&gt;
  &lt;/ac:for&gt;
  </code></pre>