ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: How to Add a Text Comment to the Beginning of a File (copy, concat)?
Date Wed, 18 Mar 2009 05:58:05 GMT
>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}"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message