Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 1338 invoked from network); 6 Jun 2006 18:43:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 18:43:07 -0000 Received: (qmail 37891 invoked by uid 500); 6 Jun 2006 18:43:05 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 37848 invoked by uid 500); 6 Jun 2006 18:43:05 -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 37837 invoked by uid 99); 6 Jun 2006 18:43:05 -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 11:43:05 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.163.179.181] (HELO web35812.mail.mud.yahoo.com) (66.163.179.181) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 06 Jun 2006 11:43:04 -0700 Received: (qmail 35038 invoked by uid 60001); 6 Jun 2006 18:42:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=T+dXJ7AYYzAK5MaobMBIQTPMuTgWsHCpP1XMRFwfz0bdY+pTcvF6zHfCIPTF/QVPD/ryBKhBpUjtXyrxY4KwcQ5X3kxkt6eFfZSux9jkipxzW8sF1nflSeghvChAJpc+Sf8hN7IDBDUnL8AKz8kAT2OQvRKP2i2vjZiIkwVJmfI= ; Message-ID: <20060606184243.35036.qmail@web35812.mail.mud.yahoo.com> Received: from [144.226.173.68] by web35812.mail.mud.yahoo.com via HTTP; Tue, 06 Jun 2006 11:42:42 PDT Date: Tue, 6 Jun 2006 11:42:42 -0700 (PDT) From: jay hawk Subject: Re: append functionality for copy task To: Ant Developers List In-Reply-To: <20060606160459.19670@gmx.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1005966963-1149619362=:34673" 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 --0-1005966963-1149619362=:34673 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 . Nice stuff. You da man. Thanks! Antoine Levy-Lambert 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. --0-1005966963-1149619362=:34673--