ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: prepend file to multiple files
Date Tue, 16 Sep 2003 08:25:32 GMT
On Mon, 15 Sep 2003, Daniel M. Bikel <dbikel@linc.cis.upenn.edu>
wrote:

> I need to prepend a short license description (contained in file) to
> all my source files when they are copied to the deployment "src"
> directory.

You should be able to write a filter reader that injects the license
before returning the first line of your source files.

Follow the FilterChain labeled link in <copy>'s manual page for more
details.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message