Wednesday, June 27, 2012

Ant: Create File With Contents

This is how to create a file with content specified in the build.xml file:

<echo file="${filename}" append="true">
   <![CDATA[the contents of the file]]>
</echo>

No comments:

Post a Comment