ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Inserting text at start of file
Date Wed, 02 Apr 2003 08:05:28 GMT
On Wed, 2 Apr 2003, North Alex <> wrote:

> I just can't seem to find any simple way of doing it.


> I have come up with a complicated-well-over-the-top way of copying
> files and using the concat task.

Why copy?

<concat destfile="your-dest-file">Your Text
<concat destfile="your-dest-file" append="true">
  <fileset file="the-file-to-prepend-to"/>

should work.

CVS HEAD has a new nested <header> element that would enable a single


View raw message