Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 66062 invoked from network); 27 May 2003 03:49:33 -0000 Received: from cortex-gw.magna.com.au (HELO smtp.cortexebusiness.com.au) (203.174.140.214) by daedalus.apache.org with SMTP; 27 May 2003 03:49:33 -0000 Received: (from daemon@localhost) by smtp.cortexebusiness.com.au (8.10.0/8.10.0) id h4R3ncj22295 for ; Tue, 27 May 2003 13:49:38 +1000 (EST) Received: from UNKNOWN(192.168.1.9), claiming to be "chunky.int.cortexebusiness.com.au" via SMTP by ctx00, id smtpdAAAcbaGGR; Tue May 27 13:49:33 2003 Received: (from daemon@localhost) by chunky.int.cortexebusiness.com.au (8.10.0/8.10.0) id h4R3ncV18398 for ; Tue, 27 May 2003 13:49:38 +1000 (EST) Received: from kooky.int.cortexebusiness.com.au(192.168.1.48) via SMTP by chunky.int.cortexebusiness.com.au, id smtpdAAA9fa45J; Tue May 27 13:49:30 2003 From: Conor MacNeill To: "Ant Developers List" Subject: Re: copy task addition Date: Tue, 27 May 2003 13:49:29 +1000 User-Agent: KMail/1.5 References: <3ED2234A.9040807@dotech.com> In-Reply-To: <3ED2234A.9040807@dotech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305271349.29619.conor@cortexebusiness.com.au> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 27 May 2003 12:23 am, David Kavanagh wrote: > I just signed on to contribute something we found useful. > > We wanted to filter files based on the project properties. This is > because we do something like this in the top of our build.xml file; > > > > > > So, we couldn't use properties pulled from any arbitrary files without > modifying the copy task. So, what I did was to add a propsFiltering flag > that uses the project properties as a filter set. Here is the diff of > the Copy.java file from the 1.5.3-1 src dist. We've used this and it > works great! > Can't you use a filterchain? Conor