ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jay hawk <voipoph...@yahoo.com>
Subject Re: append functionality for copy task
Date Tue, 06 Jun 2006 18:42:42 GMT
Antoine -
  
  Thanks for the prompt reply. The concat task works fine. I neglected to  mention that I
was also doing token replacement, but it was easily done  with the builtin filterreader <replacetokens>.
Nice stuff. You da  man. Thanks!
  

Antoine Levy-Lambert <antoine@gmx.de> wrote:  Hello Jay,

could you rather see whether what you need cannot be implemented in terms of filterchains/filters.

They are documented in the section concepts and types of ant.

The concat task is also a sort of copy with append, normally it can be used to copy several
files into one file.

What this task does not do is something like copying 
   A.xml and B.xml to AB.xml
   C.xml and D.xml to CD.xml
   ...
in one shot

I am not happy to make the copy task more complicated. Just me.

Regards,

Antoine
> -------- Original-Nachricht --------
> Datum: Tue, 6 Jun 2006 08:56:22 -0700 (PDT)
> Von: jay hawk 
> An: Ant Developers List 
> Betreff: append functionality for copy task
> 
> I was wondering if the ant development team has considered append  
> semantics for the copy task. I had a need to be able to write files  
> compiled from multiple fragments. I made some changes to 1.6.5 to try  
> this, and the changes were simple and minor. I added an attribute 
> "append" 
> to the copy task, which when set to "true" would cause the  target file to
> be opened in append mode. Would there be any interest  for this? I have 
> attached the patched files (from 1.6.5) for reference  if anyone is 
> interested in looking or commenting. 
>   


		
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message