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: Echo a file to another file
Date Wed, 10 Nov 2004 07:58:05 GMT
1. Using <loadfile> and <echo>
- load both files into properties
- echo both props out <echo file="" append="true"/>

2. Use <concat>

3. Use <concatfilter> and <copy>/<move>

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com]
> Gesendet am: Mittwoch, 10. November 2004 08:42
> An: user@ant.apache.org
> Betreff: Echo a file to another file
> 
> Dear Colleagues,
> 
> I want to do something relative simple: I have two
> text files say a.txt and b.txt and I want to place the
> contents of a.txt in the beginning of b.txt. I thought
> I could use <echo> task, but now I see it won't do
> this.
> 
> Can you give me any advice?
> 
> Thank you in advance
> 
> Ivan
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Check out the new Yahoo! Front Page. 
> www.yahoo.com 
>  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message