ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim White <...@pagesmiths.com>
Subject Re: XML file manipulation task for Ant?
Date Fri, 07 Jun 2002 16:28:50 GMT
Everitt, Andrew wrote:
 > Out of interest does anyone know of a task that allows one file to be
 >  inserted into another file at a specific line??

I don't know about any plain text file editing tasks (<sed> anyone?).

But if you can put a token in the file where the insertion/substitution
is needed, you can use <loadfile>/<filter>/<copy>.

jim


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message