Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 1263 invoked from network); 24 May 2002 23:45:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 May 2002 23:45:45 -0000 Received: (qmail 5351 invoked by uid 97); 24 May 2002 23:45:44 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 5335 invoked by uid 97); 24 May 2002 23:45:44 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 5323 invoked by uid 98); 24 May 2002 23:45:43 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Chris Bailey" To: "Ant Users List" Subject: RE: How do I delete files using a mapper? Date: Fri, 24 May 2002 16:47:54 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <5.1.0.14.0.20020524161131.00a87be8@orson.callenish.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Great! I am guessing that Ant 1.5 will be far enough along for me to switch to it when I'm done getting the initial conversion (I'm converting a complicated make based project to Ant) that I can rewrite a task or two using that stuff. Thanks! -----Original Message----- From: Bruce Atherton [mailto:bruce@callenish.com] Sent: Friday, May 24, 2002 4:30 PM To: Ant Users List Subject: Re: How do I delete files using a mapper? At 11:18 AM 5/24/2002 -0700, Chris Bailey wrote: >I have a task that turns .xml files into .java files, that reside in the >same source dir as the rest of my .java files. But, I want to be able to >"clean" those generated java files. So, in my clean target I'd like to use >the delete task, but with a Mapper. But, delete doesn't support Mappers. >So, what is the proper way to do such a thing? Although I'm sure Diane's method would work, if you are using the latest Ant from CVS you could also use the selector. Off the top of my head (and untested), something like this: If you are using 1.5 Beta1 then you have to use instead of , but that should change with the next Ant release. -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: