You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2001/12/11 10:40:36 UTC

Re: creating files

On Tue, 11 Dec 2001, Nathan Coast <na...@levelseas.com> wrote:

> Is there a simple way to create files that contain paramaterised
> data e.g.  build number.

Use <echo> with the file attribute set.  You probably want to use
nested text, something like

<echo file="foo.html"><![CDATA[
  <html>
  ...
  <p>The build number is ${buildnum}.</p>
  ...
  </html>
]]></echo>

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>