Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 52311 invoked from network); 6 Jun 2006 16:05:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 16:05:26 -0000 Received: (qmail 81790 invoked by uid 500); 6 Jun 2006 16:05:23 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 81755 invoked by uid 500); 6 Jun 2006 16:05:23 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 81744 invoked by uid 99); 6 Jun 2006 16:05:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 09:05:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 06 Jun 2006 09:05:21 -0700 Received: (qmail 3456 invoked by uid 0); 6 Jun 2006 16:04:59 -0000 Received: from 66.28.87.10 by www021.gmx.net with HTTP; Tue, 06 Jun 2006 18:04:59 +0200 (CEST) X-Flags: 0001 Date: Tue, 06 Jun 2006 18:04:59 +0200 Message-ID: <20060606160459.19670@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" From: Antoine Levy-Lambert In-Reply-To: <20060606155623.19232.qmail@web35803.mail.mud.yahoo.com> References: <20060606155623.19232.qmail@web35803.mail.mud.yahoo.com> Subject: Re: append functionality for copy task To: Ant Developers List X-Authenticated: #22961642 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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. > > --------------------------------- > How low will we go? Check out Yahoo! Messenger�s low PC-to-Phone call > rates. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org