Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 23905 invoked from network); 20 Apr 2002 02:35:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Apr 2002 02:35:31 -0000 Received: (qmail 13193 invoked by uid 97); 20 Apr 2002 02:35:33 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 13176 invoked by uid 97); 20 Apr 2002 02:35:32 -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 13165 invoked from network); 20 Apr 2002 02:35:32 -0000 Message-ID: <3CC0D3E9.2040406@mtu.net> Date: Fri, 19 Apr 2002 21:35:21 -0500 From: Jon Schewe Organization: Mentally Twisted Undergraduates User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011025 X-Accept-Language: en-us MIME-Version: 1.0 To: Ant Users List Subject: Re: task to delete nonmatching files? References: <20020420014508.47009.qmail@web13408.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Diane Holt wrote: > --- Jon Schewe wrote: > >>My build script currently has a task in it that copies files from one >>directory to another changing the extension, using a file mapper. This >>works great. Now the problem I have is that if I delete a file in the >>source directory I'd like to have ant delete the file in the destination >>directory the next time it builds, but only for files that are missing >>[...] >>Has someone already done this, or do I need to write my own task? >> > > Didn't write you a task, since it's faster for me to do it in Javascript > (anything to avoid doin' the dishes :) > Thanks. What about if the files are in different trees? -- Jon Schewe | http://mtu.net/~jpschewe | jpschewe@mtu.net For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39 -- To unsubscribe, e-mail: For additional commands, e-mail: