ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
Subject Re: append functionality for copy task
Date Tue, 06 Jun 2006 16:04:59 GMT
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.


> -------- 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. 
>   		---------------------------------
> How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call 
> rates.

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

View raw message