Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 83955 invoked from network); 16 Mar 2006 16:07:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Mar 2006 16:07:48 -0000 Received: (qmail 37513 invoked by uid 500); 16 Mar 2006 16:07:47 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 37460 invoked by uid 500); 16 Mar 2006 16:07:46 -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 37449 invoked by uid 99); 16 Mar 2006 16:07:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 08:07:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 08:07:44 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id D36936B9CB for ; Thu, 16 Mar 2006 16:07:23 +0000 (GMT) Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26126-10 for ; Thu, 16 Mar 2006 16:07:23 +0000 (GMT) Received: from kropotkin.hpl.hp.com (kropotkin.hpl.hp.com [15.144.59.2]) by colossus.hpl.hp.com (Postfix) with ESMTP id 758B46B9C5 for ; Thu, 16 Mar 2006 16:07:22 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 3DC8C4987 for ; Thu, 16 Mar 2006 16:07:22 +0000 (GMT) Received: from kropotkin.hpl.hp.com ([127.0.0.1]) by localhost (kropotki [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04288-02-88 for ; Thu, 16 Mar 2006 16:07:18 +0000 (GMT) Received: from timmay.hpl.hp.com (timmay.hpl.hp.com [15.144.30.251]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 19278C64A for ; Thu, 16 Mar 2006 16:07:18 +0000 (GMT) Received: from [15.144.25.135] (chamonix.hpl.hp.com [15.144.25.135]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id k2GG7DeA003075 for ; Thu, 16 Mar 2006 16:07:13 GMT Message-ID: <44198D30.7000502@apache.org> Date: Thu, 16 Mar 2006 16:07:12 +0000 From: Steve Loughran User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Ant Developers List Subject: Re: TaskAdapting something that extends WaitFor References: <20060315160524.36432.qmail@web30914.mail.mud.yahoo.com> In-Reply-To: <20060315160524.36432.qmail@web30914.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-Virus-Scanned: amavisd-new at kropotkin.hpl.hp.com X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Matt Benson wrote: > --- Steve Loughran wrote: > >> Matt Benson wrote: >>> How are you invoking it? >> as a task: >> >> > message="equality failed"> >> >> >> >> Its declared as a task too; in a properties file I >> load with taskdef. >> When it delegated to waitfor it worked, but now that >> it subclasses it >> doesnt exec. > > Hmm... this works: > > > > > > > public class Foo extends > org.apache.tools.ant.taskdefs.WaitFor {} > > > > > > > > > classpath="${basedir}" /> > timeoutproperty="foo"> > > > > > > $${foo}=${foo} > > > > > includes="${src},*.class" /> > > > > > > So... I dunno... :| The tests work for me too. Wierd. Whatever, I can't extend WaitFor because it doesnt work with the stuff in the other JAR. Which I can't replicate in the simpler test case situation. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org