ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: creating files
Date Tue, 11 Dec 2001 09:40:36 GMT
On Tue, 11 Dec 2001, Nathan Coast <nathan.coast@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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message