ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Insert a file into another at given point (not necessary at the end)
Date Wed, 31 May 2006 09:53:47 GMT
1.insert a static text at the beginning or at the end of multiple files

2.insert a static text at a text marker
  Easiest would be <copy><filterchain><expandproperties> or <copy><filterset>


>-----Urspr√ľngliche Nachricht-----
>Von: Dominique Devienne [] 
>Gesendet: Dienstag, 30. Mai 2006 14:45
>An: Ant Users List
>Betreff: Re: Insert a file into another at given point (not 
>necessary at the end)
>See recent thread titled "F1- file content copy using ant", 
>for a very clever technique to solve a similar request. The 
>"insertion" point with a regex might need a special 
>FilterReader though. --DD
>On 5/29/06, David <> wrote:
>> Dear members,
>>  I know there is a task concat for inserting at the end of 
>the file another file, but what about to insert something in 
>the middle of another file, I cant define such place for 
>example via regular expression, but I don't know if there is 
>any task for doing that.
>>  Thanks,
>>  David
>> ---------------------------------
>> Sneak preview the  all-new It's not radically 
>different. Just radically better.
>To unsubscribe, e-mail: For 
>additional commands, e-mail:

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

View raw message