ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.kitt.rei...@gmail.com>
Subject Re: How to Add a Text Comment to the Beginning of a File (copy, concat)?
Date Wed, 18 Mar 2009 07:42:36 GMT
This is probably the first time that <header> was mentioned on the
mailing list since it was added to <concat>!

Peter


On Wed, Mar 18, 2009 at 5:58 AM,  <Jan.Materne@rzf.fin-nrw.de> wrote:
>>I am using <concat> to create a destfile. I would like to provide a
>>comment at the top of the destfile that contains a list of the files
>>specified in the filelist's |files| attribute.
>>
>>I saw replaceregexp, but I don't want to replace a token, unless there
>>is a token for "beginning of file."
>>
>>How can I add this comment?
>
>
> <concat file="...">
>    <header>Content of dir=${dir} files=${files}</header>
>    <filelist dir="${dir}" files="${files}"/>
> </concat>
>
>
> Jan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message