Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 44136 invoked from network); 23 Aug 2005 18:04:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2005 18:04:03 -0000 Received: (qmail 38282 invoked by uid 500); 23 Aug 2005 18:03:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 37903 invoked by uid 500); 23 Aug 2005 18:03:56 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 37889 invoked by uid 99); 23 Aug 2005 18:03:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 11:03:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [80.67.18.14] (HELO smtprelay02.ispgateway.de) (80.67.18.14) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 11:04:13 -0700 Received: (qmail 24147 invoked from network); 23 Aug 2005 18:03:53 -0000 Received: from unknown (HELO [10.1.5.217]) (867228@[217.72.192.194]) (envelope-sender ) by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 23 Aug 2005 18:03:53 -0000 Message-ID: <430B6508.60701@rtin-burger.de> Date: Tue, 23 Aug 2005 20:03:52 +0200 From: Martin Burger User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Javac does not delete class file of not-existing java file References: <430B44CE.9010802@rtin-burger.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Petar Tahchiev schrieb am 23.08.2005 18:26: > What's wrong with the delete task? Thanks for the hint. Want to delete file? - Use delete task! :-) After reading the documentation second time I found the solution. You need a delete task that contains a file set. That file set contains a present selector. That selector has to use a glob mapper instead of the default identity mapper. Ant is very powerful! Regards, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org