ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
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
  <copy><filterchain><concatfilter>

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

Jan

>-----Urspr√ľngliche Nachricht-----
>Von: Dominique Devienne [mailto:ddevienne@gmail.com] 
>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 <achepati67@yahoo.es> 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 Yahoo.com. It's not radically 
>different. Just radically better.
>>
>
>---------------------------------------------------------------------
>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